Table of Contents

Class NotBuilder

Namespace
NRules.RuleModel.Builders
Assembly
NRules.RuleModel.dll

Builder to compose a negative existential element.

public class NotBuilder : RuleElementBuilder
Inheritance
NotBuilder
Inherited Members

Constructors

NotBuilder()

Initializes a new instance of the NotBuilder.

public NotBuilder()

Methods

Group(GroupBuilder)

Sets a group builder as the source of the negative existential element.

public void Group(GroupBuilder builder)

Parameters

builder GroupBuilder

Element builder to set as the source.

Group(GroupType)

Creates a group builder that builds a group as the source of the negative existential element.

public GroupBuilder Group(GroupType groupType)

Parameters

groupType GroupType

Group type.

Returns

GroupBuilder

Group builder.

Group(GroupElement)

Sets a group as the source of the negative existential element.

public void Group(GroupElement element)

Parameters

element GroupElement

Element to set as the source.

Pattern(PatternBuilder)

Sets a pattern builder as the source of the negative existential element.

public void Pattern(PatternBuilder builder)

Parameters

builder PatternBuilder

Element builder to set as the source.

Pattern(Declaration)

Creates a pattern builder that builds the source of the negative existential element.

public PatternBuilder Pattern(Declaration declaration)

Parameters

declaration Declaration

Pattern declaration.

Returns

PatternBuilder

Pattern builder.

Pattern(PatternElement)

Sets a pattern as the source of the negative existential element.

public void Pattern(PatternElement element)

Parameters

element PatternElement

Element to set as the source.

Pattern(Type, string)

Creates a pattern builder that builds the source of the negative existential element.

public PatternBuilder Pattern(Type type, string name = null)

Parameters

type Type

Type of the element the pattern matches.

name string

Pattern name (optional).

Returns

PatternBuilder

Pattern builder.