C# Class YAXLib.UdtWrapper

a wrapper class around user-defined types, for quick acess to their YAXLib related attributes
Mostra file Open project: sinairv/YAXLib Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified T:System.Object is equal to the current T:System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

SetYAXSerializerOptions ( YAXSerializer caller ) : void

Sets the serializer options.

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

UdtWrapper ( Type udtType, YAXSerializer callerSerializer ) : System

Initializes a new instance of the UdtWrapper class.

Private Methods

Method Description
ProcessYAXAttribute ( object attr ) : void

Processes the specified attribute.

Method Details

Equals() public method

Determines whether the specified T:System.Object is equal to the current T:System.Object.
/// The parameter is null. ///
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int

SetYAXSerializerOptions() public method

Sets the serializer options.
public SetYAXSerializerOptions ( YAXSerializer caller ) : void
caller YAXSerializer The caller serializer.
return void

ToString() public method

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
return string

UdtWrapper() public method

Initializes a new instance of the UdtWrapper class.
public UdtWrapper ( Type udtType, YAXSerializer callerSerializer ) : System
udtType System.Type The underlying type to create the wrapper around.
callerSerializer YAXSerializer reference to the serializer /// instance which is building this instance.
return System