Collapse All Expand All

C#

Clarion Library 6.1.1
RuleExtractor<(Of <(<'T>)>)> Delegate
See Also Send Feedback

[This is preliminary documentation and is subject to change.]

Performs rule extraction given the specified information

Namespace: Clarion.Framework.Templates
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

# Syntax

C#
    public delegate T RuleExtractor<T>(
    	InputOutputLayer compInput,
    	Chunk chosenOutput,
    	IRuleFactory<T> factory,
    	params Object[] p
    )
    where T : Rule, IRefineable<T>

#### Parameters

compInput
  Type: Clarion.Framework..::..InputOutputLayer
  The input layer of the component from which a rule is to be extracted

chosenOutput
  Type: Clarion.Framework.Core..::..Chunk
  The output that is to be used on the "right-hand" side of the rule

factory
  Type: Clarion.Framework.Templates..::..IRuleFactory<(Of <(<'T>)>)>
  The factory should be used to generate the rule

p
  Type: array<System..::..Object>[]()[][]
  Any parameters that may be needed by the factory in order for it generate the rule

# Type Parameters

T
  Specifies the type of rule being extracted

#### Return Value

The rule that was generated by the rule extractor

# See Also

Clarion.Framework.Templates Namespace