C# Class ModelBuilder.IgnoreRule

The IgnoreRule class describes a property on a type that should not be set when populating an instance.
Datei anzeigen Open project: roryprimrose/ModelBuilder

Public Methods

Method Description
IgnoreRule ( Type targetType, string propertyName ) : System

Initializes a new instance of the IgnoreRule class.

Method Details

IgnoreRule() public method

Initializes a new instance of the IgnoreRule class.
The parameter is null. The parameter is null, only contains whitespace or is empty.
public IgnoreRule ( Type targetType, string propertyName ) : System
targetType System.Type The target type that matches the rule.
propertyName string The property name that matches the rule.
return System