C# Class Catel.Fody.ExposeAttribute

Inheritance: System.Attribute
Show file Open project: Catel/Catel.Fody

Public Methods

Method Description
ExposeAttribute ( string propertyName ) : System

Initializes a new instance of the ExposeAttribute class.

Do not create default values for attribute constructors! For more information, see: http://stackoverflow.com/questions/8290853/attribute-argument-must-be-a-constant-error-when-using-an-optional-parameter-in

ExposeAttribute ( string propertyName, string propertyNameOnModel ) : System

Initializes a new instance of the ExposeAttribute class.

Method Details

ExposeAttribute() public method

Initializes a new instance of the ExposeAttribute class.
Do not create default values for attribute constructors! For more information, see: http://stackoverflow.com/questions/8290853/attribute-argument-must-be-a-constant-error-when-using-an-optional-parameter-in
The is null or whitespace.
public ExposeAttribute ( string propertyName ) : System
propertyName string Name of the property.
return System

ExposeAttribute() public method

Initializes a new instance of the ExposeAttribute class.
The is null or whitespace.
public ExposeAttribute ( string propertyName, string propertyNameOnModel ) : System
propertyName string Name of the property.
propertyNameOnModel string The property name configuration model.
return System