Пример #1
0
 //////////////////////////////////////////////////////////////////////////
 public CommandReciver(ICommandInvoker m_CommandInvoker = null, ICommandNotifier <CommandReciver> m_CommandNotifier = null)
 {
     this.m_CommandInvoker  = m_CommandInvoker ?? new CommandInvokerDefault();
     this.m_CommandNotifier = m_CommandNotifier ?? new CommandNotifierDefault <CommandReciver>();
     this.m_CommandNotifier.iAttach(this);
 }
Пример #2
0
 public CommandNotifierRedirect(ICommandNotifier <T> redirectionTarget)
 {
     m_RedirectionTarget = redirectionTarget;
 }