public virtual bool Enter(ControlContext context, DebugViewContext debug)
        {
            if (mContext != null || context == null || !context.Build || debug == null)
                // Strict.
                return false;

            mContext = context;
            mDebugContext = debug;

            return true; 
        }
示例#2
0
        public virtual bool Enter(ControlContext context, DebugViewContext debug)
        {
            if (mContext != null || context == null || !context.Build || debug == null)
            {
                // Strict.
                return(false);
            }

            mContext      = context;
            mDebugContext = debug;

            return(true);
        }
示例#3
0
 public virtual void Exit()
 {
     mContext      = null;
     mDebugContext = null;
     mLogger.ResetLog();
 }
 public virtual void Exit() 
 {
     mContext = null;
     mDebugContext = null;
     mLogger.ResetLog();
 }