Class GlueComponent
Provides base functionality for internal glue component implementations
Inheritance
System.Object
GlueComponent
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.Glue
Assembly: Azos.dll
Syntax
public abstract class GlueComponent : DaemonWithInstrumentation<IGlueImplementation>, IDisposable, IDaemon, IDaemonView, IApplicationComponent, INamed, IConfigurable, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized
Constructors
GlueComponent(IGlueImplementation, String)
Declaration
protected GlueComponent(IGlueImplementation glue, string name)
Parameters
Type | Name | Description |
---|---|---|
IGlueImplementation | glue | |
System.String | name |
Properties
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Glue
Declaration
public IGlueImplementation Glue { get; }
Property Value
Type | Description |
---|---|
IGlueImplementation |
InstrumentationEnabled
Implements IInstrumentable
Declaration
[Config(Default = false)]
[ExternalParameter(new string[]{"glue", "instrumentation"})]
public override bool InstrumentationEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Azos.Apps.DaemonWithInstrumentation<Azos.Glue.IGlueImplementation>.InstrumentationEnabled
Methods
WriteLog(LogSrc, MessageType, String, String, Exception, String, Nullable<Guid>)
Declaration
public void WriteLog(LogSrc source, MessageType type, string msg, string from = null, Exception exception = null, string pars = null, Guid? relatedTo = default(Guid? ))
Parameters
Type | Name | Description |
---|---|---|
LogSrc | source | |
MessageType | type | |
System.String | msg | |
System.String | from | |
System.Exception | exception | |
System.String | pars | |
System.Nullable<System.Guid> | relatedTo |
Implements
System.IDisposable