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; }
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); }
public virtual void Exit() { mContext = null; mDebugContext = null; mLogger.ResetLog(); }