Class ComponentType
Provides information about the type implementing IMessageProcessor used by CustomComponent in the message processing pipeline.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ComponentType : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<ComponentType>
Constructors
ComponentType()
Initializes a new instance of the object.
Declaration
public ComponentType()
Properties
AllowedPositions
Gets the message processing pipeline position(s) supported by the component.
Declaration
public MessagePipelinePositions AllowedPositions { get; set; }
Property Value
Type | Description |
---|---|
MessagePipelinePositions |
Configuration
Gets or sets the component's default configuration to be shown on the component's configuration screen.
Declaration
public string Configuration { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FullyQualifiedTypeName
Gets or sets fully qualified name of the type implementing IMessageProcessor.
Declaration
public string FullyQualifiedTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsSingleCall
Gets or sets flag indicating that configured type must be instantiated on per-call basis. If False, then single instance will be reused for all incoming messages.
Declaration
public bool IsSingleCall { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets or sets the component's friendly name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ObjectType
Gets object type identifier.
Declaration
public override EntityType ObjectType { get; }
Property Value
Type | Description |
---|---|
EntityType |
Overrides
Methods
CreateComponent()
Returns new instance of the IMessageProcessor type configured in this object.
Declaration
public IMessageProcessor CreateComponent()
Returns
Type | Description |
---|---|
IMessageProcessor | New instance of the IMessageProcessor type configured in this object. |
Equals(ComponentType)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(ComponentType other)
Parameters
Type | Name | Description |
---|---|---|
ComponentType | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified object is equal to the current object; otherwise, false. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Returns hash code for the value of this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code for the value of this instance. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
Validate()
Evaluates the state of the object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |