Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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;
 }