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

表示静态参数值数据源,可用参数时在创建时就指定并保持不变。
Inheritance: IRuleParameterValueSource
Exibir arquivo Open project: Kooboo/Ecommerce Class Usage Examples

Public Properties

Property Type Description
_values string>.Dictionary

Public Methods

Method Description
FromEnum ( Type enumType ) : StaticRuleParameterValueSource
GetValues ( RuleParameter param ) : string>.IDictionary
StaticRuleParameterValueSource ( string>.IDictionary values ) : System

Method Details

FromEnum() public static method

public static FromEnum ( Type enumType ) : StaticRuleParameterValueSource
enumType System.Type
return StaticRuleParameterValueSource

GetValues() public method

public GetValues ( RuleParameter param ) : string>.IDictionary
param RuleParameter
return string>.IDictionary

StaticRuleParameterValueSource() public method

public StaticRuleParameterValueSource ( string>.IDictionary values ) : System
values string>.IDictionary
return System

Property Details

_values public_oe property

public Dictionary _values
return string>.Dictionary