Click or drag to resize

SpecificationBusinessRuleT Method

Creates a specification that holds information about a business rule that must be executed.

Namespace:  Enkoni.Framework
Assembly:  Enkoni.Framework.Specifications (in Enkoni.Framework.Specifications.dll) Version: 1.3.0.1
Syntax
public static ISpecification<T> BusinessRule<T>(
	string ruleName,
	params Object[] ruleArguments
)

Parameters

ruleName
Type: SystemString
The name of the rule that must be executed.
ruleArguments
Type: SystemObject
The arguments that must be used by the business rule.

Type Parameters

T
The type of object that is ultimately selected by the specification.

Return Value

Type: ISpecificationT
A specification that holds information about a business rule.
See Also