示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V84Network"/> class.
 /// </summary>
 /// <param name="network">The adapter for the Network domain.</param>
 /// <param name="fetch">The adapter for the Fetch domain.</param>
 public V84Network(NetworkAdapter network, FetchAdapter fetch)
 {
     this.network         = network;
     this.fetch           = fetch;
     fetch.AuthRequired  += OnFetchAuthRequired;
     fetch.RequestPaused += OnFetchRequestPaused;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V88Network"/> class.
 /// </summary>
 /// <param name="network">The adapter for the Network domain.</param>
 /// <param name="fetch">The adapter for the Fetch domain.</param>
 public V88Network(NetworkAdapter network, FetchAdapter fetch)
 {
     this.network              = network;
     this.fetch                = fetch;
     fetch.AuthRequired       += OnFetchAuthRequired;
     fetch.RequestPaused      += OnFetchRequestPaused;
     network.ResponseReceived += OnNetworkResponseReceived;
 }