Table of Contents

Class Rule

Namespace
Fluxzy.Rules
Assembly
Fluxzy.Core.dll
public class Rule
Inheritance
Rule
Inherited Members

Constructors

Rule(Action, Filter)

public Rule(Action action, Filter filter)

Parameters

action Action
filter Filter

Properties

Action

public Action Action { get; set; }

Property Value

Action

Filter

public Filter Filter { get; set; }

Property Value

Filter

Identifier

[YamlIgnore]
public Guid Identifier { get; set; }

Property Value

Guid

InScope

[YamlIgnore]
public bool InScope { get; }

Property Value

bool

Name

public string? Name { get; set; }

Property Value

string

Order

public int Order { get; set; }

Property Value

int

Methods

Enforce(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)

public ValueTask Enforce(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope filterScope, BreakPointManager breakPointManager)

Parameters

context ExchangeContext
exchange Exchange
connection Connection
filterScope FilterScope
breakPointManager BreakPointManager

Returns

ValueTask

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.