C# 클래스 ModelBuilder.ExecuteOrderRule

The ExecuteOrderRule class is used to define the order of property population.
파일 보기 프로젝트 열기: roryprimrose/ModelBuilder

공개 메소드들

메소드 설명
ExecuteOrderRule ( Func evaluator, int priority ) : System

Initializes a new instance of the ExecuteOrderRule class.

ExecuteOrderRule ( Type targetType, Regex propertyExpression, int priority ) : System

Initializes a new instance of the ExecuteOrderRule class.

ExecuteOrderRule ( Type targetType, string propertyName, int priority ) : System

Initializes a new instance of the ExecuteOrderRule class.

IsMatch ( Type type, string propertyName ) : bool

Gets whether the specified type and property name match this rule.

메소드 상세

ExecuteOrderRule() 공개 메소드

Initializes a new instance of the ExecuteOrderRule class.
The parameter is null.
public ExecuteOrderRule ( Func evaluator, int priority ) : System
evaluator Func The function that determines whether the rule is a match.
priority int The priority of the rule.
리턴 System

ExecuteOrderRule() 공개 메소드

Initializes a new instance of the ExecuteOrderRule class.
The and parameters are both null.
public ExecuteOrderRule ( Type targetType, Regex propertyExpression, int priority ) : System
targetType System.Type The target type that matches the rule.
propertyExpression System.Text.RegularExpressions.Regex The property name regular expression that matches the rule.
priority int The priority of the rule.
리턴 System

ExecuteOrderRule() 공개 메소드

Initializes a new instance of the ExecuteOrderRule class.
The and parameters are both null.
public ExecuteOrderRule ( Type targetType, string propertyName, int priority ) : System
targetType System.Type The target type that matches the rule.
propertyName string The property name that matches the rule.
priority int The priority of the rule.
리턴 System

IsMatch() 공개 메소드

Gets whether the specified type and property name match this rule.
public IsMatch ( Type type, string propertyName ) : bool
type System.Type The type to match.
propertyName string The property name to match.
리턴 bool