Пример #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
 }