Table of Contents

Class RuleFunctionDescriptor

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

Discovery metadata for a single custom function registered on an engine — its name plus whatever IRuleFunctionMetadata it opted to expose, or the "unknown" defaults when it didn't. See RuleWrightEngine.FunctionCatalog.

public sealed class RuleFunctionDescriptor
Inheritance
RuleFunctionDescriptor
Inherited Members

Constructors

RuleFunctionDescriptor(string, string?, RuleFunctionValueKind)

Creates a function descriptor.

Properties

Description

A short description of what the function checks, or null if none was supplied.

Name

The case-sensitive name the function is referenced by in rule JSON.

ValueKind

The expected shape of the function's value operand.