Table of Contents

Interface IRuleValueFunctionMetadata

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

Optional metadata an IRuleValueFunction implementation can expose about itself. The description is purely informational (surfaced via RuleValueFunctionDescriptor for rule-authoring UIs); a declared RequiredOperandCount is additionally enforced at LoadRuleSet, so a call with the wrong number of operands fails at load rather than computing null mid-evaluation.

public interface IRuleValueFunctionMetadata

Properties

Description

A short, human-readable description of what the function computes.

RequiredOperandCount

The exact number of operands a call must supply, or null when the function accepts any number.