C# Class ModelBuilder.ExecuteOrderRule

The ExecuteOrderRule class is used to define the order of property population.
Afficher le fichier Open project: roryprimrose/ModelBuilder

Méthodes publiques

Méthode Description
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.

Method Details

ExecuteOrderRule() public méthode

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.
Résultat System

ExecuteOrderRule() public méthode

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.
Résultat System

ExecuteOrderRule() public méthode

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.
Résultat System

IsMatch() public méthode

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.
Résultat bool