コード例 #1
0
 public PeerContext(PeerTable peerTable, Guid peerId, IAsyncPoster<PeerDiscoveryEvent> peerDiscoveryEventPoster) {
    this.peerTable = peerTable;
    this.peerDiscoveryEventPoster = peerDiscoveryEventPoster;
    this.Identity = new Identity(peerId);
 }
コード例 #2
0
 public PeerContext(PeerTable peerTable, Guid peerId, IAsyncPoster <PeerDiscoveryEvent> peerDiscoveryEventPoster)
 {
     this.peerTable = peerTable;
     this.peerDiscoveryEventPoster = peerDiscoveryEventPoster;
     this.Identity = new Identity(peerId);
 }