C# Class Kooboo.Commerce.Rules.Parameters.RuleParameter

表示一个可以用在条件表达式里的参数。
Mostrar archivo Open project: Kooboo/Ecommerce Class Usage Examples

Public Methods

Method Description
ResolveValue ( object dataContext ) : object
RuleParameter ( string name, Type valueType, RuleParameterValueResolver valueResolver, IEnumerable supportedOperators ) : System
ToString ( ) : string

Method Details

ResolveValue() public method

public ResolveValue ( object dataContext ) : object
dataContext object
return object

RuleParameter() public method

public RuleParameter ( string name, Type valueType, RuleParameterValueResolver valueResolver, IEnumerable supportedOperators ) : System
name string
valueType System.Type
valueResolver RuleParameterValueResolver
supportedOperators IEnumerable
return System

ToString() public method

public ToString ( ) : string
return string