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
namestringThe case-sensitive name the function is referenced by in rule JSON.
descriptionstringA short description, or null if the function exposes none.
requiredOperandCountint?The exact operand count, or null when any count is accepted.
Exceptions
- ArgumentException
nameis null or empty.