Class MdbAppComponent
Base type for externally parametrized app components that are used throughout MDB implementation
Inheritance
System.Object
MdbAppComponent
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.Sky.Mdb
Assembly: Azos.Sky.dll
Syntax
public abstract class MdbAppComponent : ApplicationComponent, IDisposable, IApplicationComponent, IExternallyParameterized
Constructors
MdbAppComponent(IApplicationComponent)
Declaration
protected MdbAppComponent(IApplicationComponent director)
Parameters
Type | Name | Description |
---|---|---|
IApplicationComponent | director |
Properties
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
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>> |
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