Class NOPEventTimer
Normally this class should never be used as the dafult EventTimer is always present instead of nop
Inheritance
System.Object
NOPEventTimer
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: NFX.dll
Syntax
public sealed class NOPEventTimer : ApplicationComponent, IEventTimerImplementation, IEventTimer, IApplicationComponent, IInstrumentable, IExternallyParameterized, IDisposable, IConfigurable
Constructors
NOPEventTimer()
Declaration
Properties
Events
Declaration
public IRegistry<Event> Events { get; }
Property Value
ExternalParameters
Declaration
public IEnumerable<KeyValuePair<string, Type>> ExternalParameters { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Type>> |
|
Instance
Declaration
public static NOPEventTimer Instance { get; }
Property Value
InstrumentationEnabled
Declaration
public bool InstrumentationEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ResolutionMs
Declaration
public int ResolutionMs { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
__InternalRegisterEvent(Event)
Declaration
public void __InternalRegisterEvent(Event evt)
Parameters
Type |
Name |
Description |
Event |
evt |
|
__InternalUnRegisterEvent(Event)
Declaration
public void __InternalUnRegisterEvent(Event evt)
Parameters
Type |
Name |
Description |
Event |
evt |
|
Declaration
public void Configure(IConfigSectionNode node)
Parameters
ExternalGetParameter(String, out Object, String[])
Declaration
public bool ExternalGetParameter(string name, out object value, params string[] groups)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
System.String[] |
groups |
|
Returns
Type |
Description |
System.Boolean |
|
ExternalParametersForGroups(String[])
Declaration
public IEnumerable<KeyValuePair<string, Type>> ExternalParametersForGroups(params string[] groups)
Parameters
Type |
Name |
Description |
System.String[] |
groups |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Type>> |
|
ExternalSetParameter(String, Object, String[])
Declaration
public bool ExternalSetParameter(string name, object value, params string[] groups)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
System.String[] |
groups |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IDisposable
Extension Methods