コード例 #1
0
        private static ExplorerClient CreateNBXClient(Network network)
        {
            NBXplorerNetworkProvider provider = new NBXplorerNetworkProvider(network.ChainName);
            ExplorerClient           client   = new NBXplorer.ExplorerClient(provider.GetFromCryptoCode(network.NetworkSet.CryptoCode));

            return(client);
        }
コード例 #2
0
 internal NotificationSession(ExplorerClient client)
 {
     if (client == null)
     {
         throw new ArgumentNullException(nameof(client));
     }
     _Client = client;
 }
コード例 #3
0
 public LongPollingNotificationSession(long lastEventId, ExplorerClient client)
 {
     LastEventId = lastEventId;
     Client      = client;
 }