C# Class NUnit.Framework.PropertyAttribute

Inheritance: System.Attribute
Exibir arquivo Open project: antonsamarsky/emitmapper-tools

Public Methods

Method Description
PropertyAttribute ( string propertyName, double propertyValue ) : System

Construct a PropertyAttribute with a name and double value

PropertyAttribute ( string propertyName, int propertyValue ) : System

Construct a PropertyAttribute with a name and int value

PropertyAttribute ( string propertyName, string propertyValue ) : System

Construct a PropertyAttribute with a name and string value

Protected Methods

Method Description
PropertyAttribute ( ) : System

Constructor for derived classes that set the property dictionary directly.

PropertyAttribute ( object propertyValue ) : System

Constructor for use by derived classes that use the name of the type as the property name. Derived classes must ensure that the Type of the property value is a standard type supported by the BCL. Any custom types will cause a serialization Exception when in the client.

Method Details

PropertyAttribute() protected method

Constructor for derived classes that set the property dictionary directly.
protected PropertyAttribute ( ) : System
return System

PropertyAttribute() protected method

Constructor for use by derived classes that use the name of the type as the property name. Derived classes must ensure that the Type of the property value is a standard type supported by the BCL. Any custom types will cause a serialization Exception when in the client.
protected PropertyAttribute ( object propertyValue ) : System
propertyValue object
return System

PropertyAttribute() public method

Construct a PropertyAttribute with a name and double value
public PropertyAttribute ( string propertyName, double propertyValue ) : System
propertyName string The name of the property
propertyValue double The property value
return System

PropertyAttribute() public method

Construct a PropertyAttribute with a name and int value
public PropertyAttribute ( string propertyName, int propertyValue ) : System
propertyName string The name of the property
propertyValue int The property value
return System

PropertyAttribute() public method

Construct a PropertyAttribute with a name and string value
public PropertyAttribute ( string propertyName, string propertyValue ) : System
propertyName string The name of the property
propertyValue string The property value
return System