C# 클래스 Kooboo.Commerce.Rules.Parameters.DefaultRuleParameterProvider

A provider providing parameters by checking the declared Kooboo.Commerce.Rules.ParamAttribute in the class properties.
상속: IRuleParameterProvider
파일 보기 프로젝트 열기: Kooboo/Ecommerce 1 사용 예제들

공개 메소드들

메소드 설명
GetParameters ( Type dataContextType ) : IEnumerable
GetParameters ( Type dataContextType, object>.Func dataContextAdapter ) : IEnumerable

Gets the available parameters for the specified data context type, with a specific data context adapter to adapt original data context to the final data context to which the parameters is applicable.

비공개 메소드들

메소드 설명
CreateConditionParameter ( Type containerType, RuleParameterValueResolver containerResolver, string prefix, PropertyInfo property, ParamAttribute paramAttr ) : RuleParameter
FindConditionParameters ( Type containerType, RuleParameterValueResolver containerResolver, string prefix ) : List
GetDefaultOperators ( Type propertyType ) : List
IsNullableEnum ( Type type ) : bool

메소드 상세

GetParameters() 공개 메소드

public GetParameters ( Type dataContextType ) : IEnumerable
dataContextType System.Type
리턴 IEnumerable

GetParameters() 공개 메소드

Gets the available parameters for the specified data context type, with a specific data context adapter to adapt original data context to the final data context to which the parameters is applicable.
public GetParameters ( Type dataContextType, object>.Func dataContextAdapter ) : IEnumerable
dataContextType System.Type The data context type.
dataContextAdapter object>.Func The adapter to adapt original data context to the final data context.
리턴 IEnumerable