PropertyAttribute Constructors

Definition

Overloads

PropertyAttribute()

Constructor for derived classes that set the property dictionary directly.

PropertyAttribute(Object)

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.

PropertyAttribute(String, Double)

Construct a PropertyAttribute with a name and double value

PropertyAttribute(String, Int32)

Construct a PropertyAttribute with a name and int value

PropertyAttribute(String, String)

Construct a PropertyAttribute with a name and string value

PropertyAttribute()

Constructor for derived classes that set the property dictionary directly.

protected PropertyAttribute ();

Applies to

PropertyAttribute(Object)

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);
new NUnit.Framework.PropertyAttribute : obj -> NUnit.Framework.PropertyAttribute

Parameters

propertyValue
Object

Applies to

PropertyAttribute(String, Double)

Construct a PropertyAttribute with a name and double value

public PropertyAttribute (string propertyName, double propertyValue);
new NUnit.Framework.PropertyAttribute : string * double -> NUnit.Framework.PropertyAttribute

Parameters

propertyName
String

The name of the property

propertyValue
Double

The property value

Applies to

PropertyAttribute(String, Int32)

Construct a PropertyAttribute with a name and int value

public PropertyAttribute (string propertyName, int propertyValue);
new NUnit.Framework.PropertyAttribute : string * int -> NUnit.Framework.PropertyAttribute

Parameters

propertyName
String

The name of the property

propertyValue
Int32

The property value

Applies to

PropertyAttribute(String, String)

Construct a PropertyAttribute with a name and string value

public PropertyAttribute (string propertyName, string propertyValue);
new NUnit.Framework.PropertyAttribute : string * string -> NUnit.Framework.PropertyAttribute

Parameters

propertyName
String

The name of the property

propertyValue
String

The property value

Applies to