Table of Contents

Class RuleValueFunctionDescriptor

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

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

public sealed class RuleValueFunctionDescriptor
Inheritance
RuleValueFunctionDescriptor
Inherited Members

Constructors

RuleValueFunctionDescriptor(string, string?, int?)

Creates a value function descriptor.

Properties

Description

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

Name

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

RequiredOperandCount

The exact operand count a call must supply, or null when any count is accepted.