public void Dispose() { if (UpdatePutCoinBoxRequest != null) { UpdatePutCoinBoxRequest.GetInvocationList().ToList().ForEach(x => UpdatePutCoinBoxRequest -= (VoidEventHandler)x); } if (UpdateTemplatesRequest != null) { UpdateTemplatesRequest.GetInvocationList().ToList().ForEach(x => UpdateTemplatesRequest -= (VoidEventHandler <AccountType, CoinType>)x); } if (DisposeRequest != null) { DisposeRequest(); DisposeRequest.GetInvocationList().ToList().ForEach(x => DisposeRequest -= (VoidEventHandler)x); } }
public void UpdatePutCoinBox() { UpdatePutCoinBoxRequest?.Invoke(); }