Table of Contents

Method And

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

And(string, object?)

Adds another named fact.

public RuleFacts And(string name, object? fact)

Parameters

name string

The name rules address this fact by.

fact object

The fact instance; may be null.

Returns

RuleFacts

Exceptions

ArgumentException

name is null or empty, or already added.