コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UrlRequest"/> class.
 /// </summary>
 /// <param name="provider">The provider.</param>
 /// <param name="url">The URL.</param>
 public UrlRequest(Provider provider, Uri url)
 {
     Provider = provider;
     Url = url;
     CacheKey = GetUrlHash(url);
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UrlRequest"/> class.
 /// </summary>
 /// <param name="provider">The provider.</param>
 /// <param name="url">The URL.</param>
 public UrlRequest(Provider provider, Uri url)
 {
     Provider = provider;
     Url      = url;
     CacheKey = GetUrlHash(url);
 }