C# Class Zetbox.API.SerializableType

ファイルを表示 Open project: daszat/zetbox Class Usage Examples

Private Properties

Property Type Description
SerializableType System
SerializableType System
SerializableType System

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetSystemType ( ) : Type

Returns the serialized System.Type

ToString ( ) : string

Private Methods

Method Description
SerializableType ( ) : System
SerializableType ( InterfaceType ifType, InterfaceType iftFactory ) : System

This class is used to place type information on the wire. Since the wire protocol is Provider independent, only interface types are stored. Usually this is used to declare the type of the following IPersistenceObject.

Since the InterfaceType.Factory cannot be serialiezed, this class cannot provide full dehydration. Use GetSystemType and your own factory to retrieve InterfaceType.

SerializableType ( string typeName, string assemblyQualifiedName, SerializableType genericTypeParameter ) : System

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetSystemType() public method

Returns the serialized System.Type
public GetSystemType ( ) : Type
return System.Type

ToString() public method

public ToString ( ) : string
return string