protected virtual void InternalDispose() { if (this.implementation != null) { this.implementation.Dispose(); this.implementation = null; } }
/// <summary> /// Do-nothing implementation: derived classes will override as see fit. /// </summary> protected virtual void InternalDispose() { if (this.implementation is null) { return; } this.implementation.Dispose(); this.implementation = null; }