Class ExpressionType
Provides information about the type implementing IMessageEvaluator used by CustomExpression in message evaluating rules.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public class ExpressionType : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<ExpressionType>
Constructors
ExpressionType()
Initializes a new instance of the ExpressionType object.
Declaration
public ExpressionType()
Properties
Configuration
Gets or sets the expression's default configuration to be shown on the expression's configuration screen.
Declaration
public string Configuration { get; set; }
Property Value
Type | Description |
---|---|
String |
FullyQualifiedTypeName
Gets or sets fully qualified name of the type implementing IMessageEvaluator.
Declaration
public string FullyQualifiedTypeName { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
Boolean |
Name
Gets or sets the expression's friendly name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
ObjectType
Gets object type identifier.
Declaration
public override EntityType ObjectType { get; }
Property Value
Type | Description |
---|---|
EntityType |
Overrides
Methods
CreateExpression()
Returns new instance of the IMessageEvaluator type configured in this object.
Declaration
public IMessageEvaluator CreateExpression()
Returns
Type | Description |
---|---|
IMessageEvaluator | New instance of the IMessageEvaluator type configured in this object. |
Equals(ExpressionType)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(ExpressionType other)
Parameters
Type | Name | Description |
---|---|---|
ExpressionType | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
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 |
---|---|---|
Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
String | A string that represents the current object. |
Overrides
Validate()
Evaluates the state of the object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |