C# Class Medusa.Network.Message.MessageFactory

Mostra file Open project: fjz13/Medusa

Public Properties

Property Type Description
SessionId uint

Public Methods

Method Description
Create ( uint id ) : IMessage
IsSubclassOfRecursively ( this type, Type other ) : bool
Register ( uint id, Type type ) : void
RegisterAll ( ) : void

Private Methods

Method Description
GetAllAssemblies ( ) : AssemblyName>.Dictionary
MessageFactory ( ) : System

Method Details

Create() public static method

public static Create ( uint id ) : IMessage
id uint
return IMessage

IsSubclassOfRecursively() public static method

public static IsSubclassOfRecursively ( this type, Type other ) : bool
type this
other System.Type
return bool

Register() public static method

public static Register ( uint id, Type type ) : void
id uint
type System.Type
return void

RegisterAll() public static method

public static RegisterAll ( ) : void
return void

Property Details

SessionId public_oe static_oe property

public static uint SessionId
return uint