An NDoc Documented Class Library

Rule Class

Represents a rule, which is a processing unit whose activation is function of the environment.

For a list of all members of this type, see Rule Members.

System.Object
   ExpertCoder.ExpertSystem.Rule
      ExpertCoder.ExpertSystem.TypeGuardedRule
      ExpertCoder.Packaging.CreateProjectRule
      ExpertCoder.Packaging.SerializeProjectGroupRule
      ExpertCoder.Packaging.SerializeProjectRule

public abstract class Rule

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The mechanism works as follows: first, the method IsActiveInState is called, and if it returns true, the control is transferred to the method Execute.

When a rule is created, an inhibition mechanism (see IInhibitionMechanism and Rule.) must be provided in the constructor.

See also TypeGuardedRule, which is a more specific class for some common cases.

Requirements

Namespace: ExpertCoder.ExpertSystem

Assembly: ExpertCoder.ExpertSystem (in ExpertCoder.ExpertSystem.dll)

See Also

Rule Members | ExpertCoder.ExpertSystem Namespace