示例#1
0
        public virtual void Dispose()
        {
            Offline = true;
            if (OpCodes != null)
            {
                OpCodes.Dispose();
            }

            OnOffline        = null;
            OnStatusReceived = null;
        }
示例#2
0
 internal virtual void ReplaceOpCodeWrapper(OpCodeWrapper newOpCodes)
 {
     OpCodes.Dispose();
     newOpCodes.Initialize(this);
     //implementing classes must carry out the substitution
 }