Skip to content

Commit

Permalink
Added 'Initialized' flag property, resolving issue AttackPattern#35.
Browse files Browse the repository at this point in the history
  • Loading branch information
JimiC committed Oct 22, 2015
1 parent 3580185 commit 4050848
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Source/CSharpAnalytics/AutoMeasurement/AutoMeasurement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ public static class AutoMeasurement
{
private static BaseAutoMeasurement _instance;

/// <summary>
/// Gets a value indicating whether this <see cref="AutoMeasurement"/> is initialized.
/// </summary>
/// <value>
/// <c>true</c> if initialized; otherwise, <c>false</c>.
/// </value>
public static bool Initialized
{
get { return _instance != null; }
}

/// <summary>
/// The implementation of <see cref="BaseAutoMeasurement" /> to use when calling methods and properties
/// on <see cref="AutoMeasurement" />. Built-in types are <see cref="WinFormAutoMeasurement" /> and
Expand Down

0 comments on commit 4050848

Please sign in to comment.