C# Class Zetbox.API.SerializableType

Afficher le fichier Open project: daszat/zetbox Class Usage Examples

Private Properties

Свойство Type Description
SerializableType System
SerializableType System
SerializableType System

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetSystemType ( ) : Type

Returns the serialized System.Type

ToString ( ) : string

Private Methods

Méthode 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 méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetSystemType() public méthode

Returns the serialized System.Type
public GetSystemType ( ) : Type
Résultat System.Type

ToString() public méthode

public ToString ( ) : string
Résultat string