You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pete Shand edited this page Aug 3, 2018
·
1 revision
package com.example;
class CommandConfig implements IConfig
{
@inject public var commandMap:ISignalCommandMap;
public function configure():Void
{
commandMap.map(ExampleSignal).toCommand(ExampleCommand);
}
}
package com.example;
class ExampleMediator extends Mediator
{
@inject public var view:ExampleView;
@inject public var exampleSignal:ExampleSignal;
override public function initialize():Void
{
exampleSignal.dispatch();
}
}