From 95a7324a00096e1ca7d6377735fdcc3bced2945d Mon Sep 17 00:00:00 2001 From: Julien Binet Date: Thu, 24 Nov 2016 14:42:15 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20d=E2=80=99un=20getter=20pour=20savoir?= =?UTF-8?q?=20si=20Rollbar=20a=20=C3=A9tait=20initialis=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RollbarDotNet/Rollbar.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RollbarDotNet/Rollbar.cs b/RollbarDotNet/Rollbar.cs index 96fd773..6b983c5 100644 --- a/RollbarDotNet/Rollbar.cs +++ b/RollbarDotNet/Rollbar.cs @@ -17,5 +17,10 @@ public static IRollbar Current } set { _value = value; } } + + public static bool IsInitialized + { + get { return _value != null; } + } } }