Class GlueComponentService
Provides base functionality for internal glue component implementations
Inheritance
System.Object
GlueComponentService
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()
Namespace: NFX.Glue
Assembly: NFX.dll
Syntax
public abstract class GlueComponentService : ServiceWithInstrumentationBase<IGlueImplementation>, IApplicationComponent, IDisposable, IService, INamed, IConfigurable, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized
Constructors
GlueComponentService(IGlueImplementation, String)
Declaration
protected GlueComponentService(IGlueImplementation glue, string name)
Parameters
Type | Name | Description |
---|---|---|
IGlueImplementation | glue | |
System.String | name |
Properties
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
NFX.ServiceModel.ServiceWithInstrumentationBase<NFX.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