Table of Contents

Method RegisterFunctions

Namespace
RuleWright.Extensions.Functions
Assembly
RuleWright.Extensions.Functions.dll

RegisterFunctions(RuleWrightBuilder, IEnumerable<IRuleFunction>)

Registers each function in functions on the builder, in order.

public static RuleWrightBuilder RegisterFunctions(this RuleWrightBuilder builder, IEnumerable<IRuleFunction> functions)

Parameters

builder RuleWrightBuilder

The builder.

functions IEnumerable<IRuleFunction>

The functions to register.

Returns

RuleWrightBuilder

The same builder, for chaining.

Exceptions

ArgumentNullException

builder or functions is null.

ArgumentException

A function's name is null/empty or already registered.