C# Class Dapper.FluentMap.Conventions.PropertyConventionConfiguration

Represents the configuration for a convention.
显示文件 Open project: henkmollema/Dapper-FluentMap Class Usage Examples

Private Properties

Property Type Description
Equals bool
GetHashCode int
GetType System.Type
ToString string

Public Methods

Method Description
Configure ( Action configure ) : void

Configures the properties that this convention applies to.

PropertyConventionConfiguration ( ) : System

Initializes a new instance of the PropertyConventionConfiguration class, allowing configuration for a convention.

Where ( bool>.Func predicate ) : PropertyConventionConfiguration

Filters the properties that this convention applies to based on a predicate.

Private Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetType ( ) : Type
ToString ( ) : string

Method Details

Configure() public method

Configures the properties that this convention applies to.
public Configure ( Action configure ) : void
configure Action /// An action that performs configuration against /// . ///
return void

PropertyConventionConfiguration() public method

Initializes a new instance of the PropertyConventionConfiguration class, allowing configuration for a convention.
public PropertyConventionConfiguration ( ) : System
return System

Where() public method

Filters the properties that this convention applies to based on a predicate.
public Where ( bool>.Func predicate ) : PropertyConventionConfiguration
predicate bool>.Func A function to test each property for a condition.
return PropertyConventionConfiguration