Skip to content

Commit

Permalink
Exposed current IEnvironmentConfiguration for issue pjvds#38
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondentler authored and pjvds committed Feb 27, 2011
1 parent dd018bd commit 0e81288
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Framework/src/Ncqrs/NcqrsEnvironment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,14 @@ public static Boolean IsConfigured
return _instance != null;
}
}

/// <summary>
/// Returns the current environment configuration
/// </summary>
/// <remarks>
/// Returns the current environment configuration, or null if not configured
/// </remarks>
public static IEnvironmentConfiguration CurrentConfiguration { get { return _instance; } }

}
}

0 comments on commit 0e81288

Please sign in to comment.