From 4050848d6ab105cf63179c8a55797d63f263847c Mon Sep 17 00:00:00 2001 From: JimiC Date: Thu, 22 Oct 2015 12:38:57 +0300 Subject: [PATCH] Added 'Initialized' flag property, resolving issue #35. --- .../AutoMeasurement/AutoMeasurement.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Source/CSharpAnalytics/AutoMeasurement/AutoMeasurement.cs b/Source/CSharpAnalytics/AutoMeasurement/AutoMeasurement.cs index bd1dda9..c84d67a 100644 --- a/Source/CSharpAnalytics/AutoMeasurement/AutoMeasurement.cs +++ b/Source/CSharpAnalytics/AutoMeasurement/AutoMeasurement.cs @@ -15,6 +15,17 @@ public static class AutoMeasurement { private static BaseAutoMeasurement _instance; + /// + /// Gets a value indicating whether this is initialized. + /// + /// + /// true if initialized; otherwise, false. + /// + public static bool Initialized + { + get { return _instance != null; } + } + /// /// The implementation of to use when calling methods and properties /// on . Built-in types are and