Table of Contents

Constructor RuleValueFunctionDescriptor

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

RuleValueFunctionDescriptor(string, string?, int?)

Creates a value function descriptor.

public RuleValueFunctionDescriptor(string name, string? description, int? requiredOperandCount)

Parameters

name string

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

description string

A short description, or null if the function exposes none.

requiredOperandCount int?

The exact operand count, or null when any count is accepted.

Exceptions

ArgumentException

name is null or empty.