[This is preliminary documentation and is subject to change.]
Initializes an AssociativeRule of the specified type (to be placed in the top level of the NACS upon being committed)
Namespace: ClarionAssembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)
Syntax
C# |
---|
public static T InitializeAssociativeRule<T>( Agent destination, IAssociativeRuleFactory<T> factory, params Object[] parameters ) where T : AssociativeRule |
Parameters
- destination
- Type: Clarion.Framework..::..Agent
The agent in whom the rule is being attached
- factory
- Type: Clarion.Framework.Templates..::..IAssociativeRuleFactory<(Of <(<'T>)>)>
The factory to use to generate the rule
- parameters
- Type: array<System..::..Object>[]()[][]
(optional) Any parameters that may be needed by the factory in order to initialize the rule.
To find-out the list of required and optional parameters, please consult the documentation of the factory for the rule being generated
Type Parameters
- T
- The type of rule that is to be initialized
Return Value
An associative rule of the type specified initialized within the agent specified
Remarks
![]() |
---|
Don't forget that the associative rule being initialized by this method MUST be committed to the agent in which it was initialized! Failure to do so WILL result in an error! |
Examples
Currently unavailable.