Class NOPInstrumentation
Provides IInstrumentation implementation that does nothing
Inheritance
System.Object
NOPInstrumentation
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)
Assembly: Azos.dll
Syntax
public sealed class NOPInstrumentation : ApplicationComponent, IInstrumentationImplementation, IInstrumentation, IApplicationComponent, ILocalizedTimeProvider, IDisposable, IConfigurable, IInstrumentable, IExternallyParameterized
Properties
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
DataTypes
Declaration
public IEnumerable<Type> DataTypes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Type> |
|
Enabled
Declaration
public bool Enabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
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>> |
|
InstrumentationEnabled
Declaration
public bool InstrumentationEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
LocalizedTime
Declaration
public DateTime LocalizedTime { get; }
Property Value
Type |
Description |
System.DateTime |
|
MaxRecordCount
Declaration
public int MaxRecordCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
OSInstrumentationIntervalMS
Declaration
public int OSInstrumentationIntervalMS { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overflown
Declaration
public bool Overflown { get; }
Property Value
Type |
Description |
System.Boolean |
|
ProcessingIntervalMS
Declaration
public int ProcessingIntervalMS { get; }
Property Value
Type |
Description |
System.Int32 |
|
RecordCount
Declaration
public int RecordCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
ResultBufferSize
Declaration
public int ResultBufferSize { get; }
Property Value
Type |
Description |
System.Int32 |
|
SelfInstrumented
Declaration
public bool SelfInstrumented { get; }
Property Value
Type |
Description |
System.Boolean |
|
TimeLocation
Declaration
public TimeLocation TimeLocation { get; }
Property Value
Methods
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 |
|
GetBufferedResults(Int32)
Declaration
public IEnumerable<Datum> GetBufferedResults(int count = 0)
Parameters
Type |
Name |
Description |
System.Int32 |
count |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Datum> |
|
GetBufferedResultsSince(DateTime)
Declaration
public IEnumerable<Datum> GetBufferedResultsSince(DateTime utcDate)
Parameters
Type |
Name |
Description |
System.DateTime |
utcDate |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Datum> |
|
GetDatumTypeSources(Type, out Datum)
Declaration
public IEnumerable<string> GetDatumTypeSources(Type datumType, out Datum defaultInstance)
Parameters
Type |
Name |
Description |
System.Type |
datumType |
|
Datum |
defaultInstance |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
LocalizedTimeToUniversalTime(DateTime)
Declaration
public DateTime LocalizedTimeToUniversalTime(DateTime local)
Parameters
Type |
Name |
Description |
System.DateTime |
local |
|
Returns
Type |
Description |
System.DateTime |
|
Record(Datum)
Declaration
public void Record(Datum datum)
Parameters
Type |
Name |
Description |
Datum |
datum |
|
UniversalTimeToLocalizedTime(DateTime)
Declaration
public DateTime UniversalTimeToLocalizedTime(DateTime utc)
Parameters
Type |
Name |
Description |
System.DateTime |
utc |
|
Returns
Type |
Description |
System.DateTime |
|
Implements
System.IDisposable
Extension Methods