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
namestringThe case-sensitive name the function is referenced by in rule JSON.
descriptionstringA short description, or null if the function exposes none.
valueKindRuleFunctionValueKindThe expected shape of the function's
valueoperand.
Exceptions
- ArgumentException
nameis null or empty.