public void Publish(BTCPayNetwork network, NBXplorerState state, StatusResult status, string error) { var summary = new NBXplorerSummary() { Network = network, State = state, Status = status, Error = error }; _Summaries.AddOrUpdate(network.CryptoCode, summary, (k, v) => summary); }
public void Publish(BTCPayNetworkBase network, NBXplorerState state, StatusResult status, string error) { var summary = new NBXplorerSummary() { Network = network, State = state, Status = status, Error = error }; _Summaries.AddOrUpdate(network.bitcoinCode.ToUpperInvariant(), summary, (k, v) => summary); }
public NBXplorerStateChangedEvent(BTCPayNetwork network, NBXplorerState old, NBXplorerState newState) { Network = network; NewState = newState; OldState = old; }
public NBXplorerStateChangedEvent(NBXplorerState old, NBXplorerState newState) { NewState = newState; OldState = old; }