private void implConstructor(ReceiverMode receiverMode, ICommandInvoker commandInvoker, ICommandListenerLinked <CommandReceiver> commandListener) { this.m_ReceiverMode = receiverMode; this.m_CommandInvoker = commandInvoker ?? new CommandInvokerDefault(); this.m_CommandListener = commandListener ?? new CommandListenerDefault <CommandReceiver>(); this.m_CommandListener.iAttach(this); }
public CommandReceiver(ICommandInvoker commandInvoker = null, ICommandListenerLinked <CommandReceiver> commandListener = null) { implConstructor(ReceiverMode.Container, commandInvoker, commandListener); }
public CommandNotifierRedirect(ICommandListenerLinked <T> redirectionTarget) { m_RedirectionTarget = redirectionTarget; }
////////////////////////////////////////////////////////////////////////// public CommandPack(ICommandInvoker m_CommandInvoker = null, ICommandListenerLinked <CommandPack> m_CommandNotifier = null) { this.m_CommandInvoker = m_CommandInvoker ?? new CommandInvokerDefault(); this.m_CommandNotifier = m_CommandNotifier ?? new CommandListenerDefault <CommandPack>(); this.m_CommandNotifier.iAttach(this); }