public virtual void Dispose() { Offline = true; if (OpCodes != null) { OpCodes.Dispose(); } OnOffline = null; OnStatusReceived = null; }
internal virtual void ReplaceOpCodeWrapper(OpCodeWrapper newOpCodes) { OpCodes.Dispose(); newOpCodes.Initialize(this); //implementing classes must carry out the substitution }