private bool _disposedValue = false; // To detect redundant calls private void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { CashPresenterManager.Remove(UserProfileResponse); } // free unmanaged resources (unmanaged objects) and override a finalizer below. // set large fields to null. _disposedValue = true; } }
public override void Clear(bool isNotify = true) { CashPresenterManager.Remove(UserProfileResponse); base.Clear(isNotify); }