Table of Contents

Constructor RuleFunctionDescriptor

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

RuleFunctionDescriptor(string, string?, RuleFunctionValueKind)

Creates a function descriptor.

public RuleFunctionDescriptor(string name, string? description, RuleFunctionValueKind valueKind)

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.

valueKind RuleFunctionValueKind

The expected shape of the function's value operand.

Exceptions

ArgumentException

name is null or empty.