Class SubscriptionAppComponent
Base type for externally parametrized app components that are used throughout Subscription implementation
Inheritance
System.Object
SubscriptionAppComponent
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.Data.Access.Subscriptions
Assembly: Azos.dll
Syntax
public abstract class SubscriptionAppComponent : ApplicationComponent, IDisposable, IApplicationComponent, IExternallyParameterized
Constructors
SubscriptionAppComponent(IApplicationComponent)
Declaration
protected SubscriptionAppComponent(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