Click or drag to resize
RuleSet Class
Default implementation of a IRuleSet
Inheritance Hierarchy
SystemObject
  FlexRule.Core.ModelRuleSet

Namespace: FlexRule.Core.Model
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
[SerializableAttribute]
public sealed class RuleSet : IRuleSet, 
	IQueryableSet

The RuleSet type exposes the following members.

Constructors
  NameDescription
Public methodRuleSet Obsolete.
Default constructor of RuleSet
Top
Properties
  NameDescription
Public propertyReadOnly
true, if RuleSet can be modified
Top
Methods
  NameDescription
Public methodAddModel
Adds a model access ModelContainer to a section of RuleSet
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHierarchicalRuleSet
This IRuleSet instance can handle hierarchical structure on IModelContainer
Public methodIsValidQuery
Checks if the query is in a valid format
Public methodSelect
Selects multiple IElementModel
Public methodSelectFirst
Retrieves the first available result of the query
Public methodSetSourceAdapter
To inject custom IQueryableSet adapter
Public methodStatic memberSimpleRuleSet Obsolete.
This IRuleSet instance can handle multiple flat IModelContainer
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddModel
Allows adding individual models as part of a ruleset
(Defined by RuleSetExtensions.)
Top
See Also