Example #1
0
 virtual public void RemoveCrossContext(ICrossContextCapable childContext)
 {
     if (childContext.crossContextDispatcher != null)
     {
         ((childContext.crossContextDispatcher) as ITriggerProvider).RemoveTriggerable(childContext.GetComponent <IEventDispatcher>(ContextKeys.CONTEXT_DISPATCHER) as ITriggerable);
         childContext.crossContextDispatcher = null;
     }
 }
Example #2
0
 public virtual void RemoveCrossContext(ICrossContextCapable childContext)
 {
     if (childContext.crossContextDispatcher != null)
     {
         ((childContext.crossContextDispatcher) as ITriggerProvider).RemoveTriggerable(childContext.GetComponent<IEventDispatcher>(ContextKeys.CONTEXT_DISPATCHER) as ITriggerable);
         childContext.crossContextDispatcher = null;
     }
 }