Gets the current singleton instance of Configuration.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public static Configuration Instance { get; } |
Visual Basic |
---|
Public Shared ReadOnly Property Instance As Configuration Get |
Property Value
Type: ConfigurationThe current singleton instance.
Remarks
An instance of Configuration wont be created until the very first
call to the sealed class. This is a CLR optimization that
provides a properly lazy-loading singleton.