C# Class Controller, UnityHello

Inheritance: MonoBehaviour
Mostra file Open project: woshihuo12/UnityHello Class Usage Examples

Protected Properties

Property Type Description
mCommandMap Type>.IDictionary
mInstance IController
mStaticSyncRoot object
mSyncRoot object
mViewCmdMap List>.IDictionary

Public Methods

Method Description
ExecuteCommand ( IMessage note ) : void
HasCommand ( string commandName ) : bool
RegisterCommand ( string commandName, Type commandType ) : void
RegisterViewCommand ( IView view, string commandNames ) : void
RemoveCommand ( string commandName ) : void
RemoveViewCommand ( IView view, string commandNames ) : void

Protected Methods

Method Description
Controller ( ) : UnityEngine
InitController ( ) : void

Method Details

Controller() protected method

protected Controller ( ) : UnityEngine
return UnityEngine

ExecuteCommand() public method

public ExecuteCommand ( IMessage note ) : void
note IMessage
return void

HasCommand() public method

public HasCommand ( string commandName ) : bool
commandName string
return bool

InitController() protected method

protected InitController ( ) : void
return void

RegisterCommand() public method

public RegisterCommand ( string commandName, Type commandType ) : void
commandName string
commandType Type
return void

RegisterViewCommand() public method

public RegisterViewCommand ( IView view, string commandNames ) : void
view IView
commandNames string
return void

RemoveCommand() public method

public RemoveCommand ( string commandName ) : void
commandName string
return void

RemoveViewCommand() public method

public RemoveViewCommand ( IView view, string commandNames ) : void
view IView
commandNames string
return void

Property Details

mCommandMap protected_oe property

protected IDictionary mCommandMap
return Type>.IDictionary

mInstance protected_oe static_oe property

protected static IController mInstance
return IController

mStaticSyncRoot protected_oe static_oe property

protected static object mStaticSyncRoot
return object

mSyncRoot protected_oe property

protected object mSyncRoot
return object

mViewCmdMap protected_oe property

protected IDictionary> mViewCmdMap
return List>.IDictionary