/// <summary> /// Releases the unmanaged resources used by the <see cref="ConfigurationUICommand"/> and optionally releases the managed resources. /// </summary> /// <param name="disposing"> /// <see langword="true"/> to release both managed and unmanaged resources; <see langword="false"/> to release only unmanaged resources. /// </param> protected virtual void Dispose(bool disposing) { if (disposing) { if (null != command) { command.Dispose(); } } }
/// <summary> /// <para>Releases the unmanaged resources used by the <see cref="ConfigurationBuilder"/> and optionally releases the managed resources.</para> /// </summary> /// <param name="disposing"> /// <para><see langword="true"/> to release both managed and unmanaged resources; <see langword="false"/> to release only unmanaged resources.</para> /// </param> protected override void Dispose(bool disposing) { if (disposing) { if (command != null) { command.Dispose(); } } base.Dispose(disposing); }