Description
The factory creates condition components.
Public Methods
Example
Create a condition defined by determining if input scalar is within specified bounds.
| [C#] | 
|---|
//Create a condition from a scalar.
IAgCrdnConditionScalarBounds condition = (IAgCrdnConditionScalarBounds)provider.Conditions.Factory.Create(
    "ConditionName", "Condition from a scalar.", AgECrdnConditionType.eCrdnConditionTypeScalarBounds);
 |  
  | 
Determine if the specified condition type is supported.
| [C#] | 
|---|
// Check if the specified condition type is supported.
if (provider.Conditions.Factory.IsTypeSupported(conditionType))
{
    //Create a Condition with the supported Type
    IAgCrdnCondition condition = provider.Conditions.Factory.Create(
        "MyCondition", string.Empty,
        conditionType);
}
 |  
  | 
Create a condition defined by determining if input scalar is within specified bounds.
| [Visual Basic .NET] | 
|---|
'Create a condition from a scalar.
Dim condition As IAgCrdnConditionScalarBounds = DirectCast(provider.Conditions.Factory.Create("ConditionName", "Condition from a scalar.", AgECrdnConditionType.eCrdnConditionTypeScalarBounds), IAgCrdnConditionScalarBounds)
 |  
  | 
Determine if the specified condition type is supported.
| [Visual Basic .NET] | 
|---|
' Check if the specified condition type is supported.
If provider.Conditions.Factory.IsTypeSupported(conditionType) Then
	'Create a Condition with the supported Type
	Dim condition As IAgCrdnCondition = provider.Conditions.Factory.Create("MyCondition", String.Empty, conditionType)
End If
 |  
  |