Class DaemonWithInstrumentation<TDirector>
Provides base implementation for Service with IInstrumentable logic
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)
Namespace: Azos.Apps
Assembly: Azos.dll
Syntax
public abstract class DaemonWithInstrumentation<TDirector> : Daemon<TDirector>, IDisposable, IDaemon, IDaemonView, IApplicationComponent, INamed, IConfigurable, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized where TDirector : IApplicationComponent
Type Parameters
Name | Description |
---|---|
TDirector |
Constructors
DaemonWithInstrumentation(TDirector)
Declaration
protected DaemonWithInstrumentation(TDirector director)
Parameters
Type | Name | Description |
---|---|---|
TDirector | director |
DaemonWithInstrumentation(IApplication)
Declaration
protected DaemonWithInstrumentation(IApplication application)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application |
Properties
ExternalParameters
Returns named parameters that can be used to control this component
Declaration
public virtual IEnumerable<KeyValuePair<string, Type>> ExternalParameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Type>> |
InstrumentationEnabled
Turns instrumentation on/off
Declaration
public abstract bool InstrumentationEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ExternalGetParameter(String, out Object, String[])
Gets external parameter value returning true if parameter was found
Declaration
public virtual 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[])
Returns named parameters that can be used to control this component
Declaration
public virtual 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[])
Sets external parameter value returning true if parameter was found and set
Declaration
public virtual 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