C# Class YamlDotNet.Serialization.YamlMemberAttribute

Inheritance: System.Attribute
Mostra file Open project: aaubry/YamlDotNet Class Usage Examples

Public Methods

Method Description
YamlMemberAttribute ( ) : System

Initializes a new instance of the YamlMemberAttribute class.

YamlMemberAttribute ( Type serializeAs ) : System

Initializes a new instance of the YamlMemberAttribute class.

Method Details

YamlMemberAttribute() public method

Initializes a new instance of the YamlMemberAttribute class.
public YamlMemberAttribute ( ) : System
return System

YamlMemberAttribute() public method

Initializes a new instance of the YamlMemberAttribute class.
public YamlMemberAttribute ( Type serializeAs ) : System
serializeAs System.Type Specifies that this property should be serialized as the given type, rather than using the actual runtime value's type.
return System