The Labs \ Source Viewer \ SSCLI \ System.Net \ IWebRequestCreate

  1. //------------------------------------------------------------------------------
  2. // <copyright file="IWebRequestCreate.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System.Net
  16. {
  17.     using System;
  18.    
  19.     //
  20.     // IWebRequestCreate - Interface for creating WebRequests.
  21.     //
  22.     /// <devdoc>
  23.     /// <para>
  24.     /// The <see cref='System.Net.IWebRequestCreate'/> interface is used by the <see cref='System.Net.WebRequest'/>
  25.     /// class to create <see cref='System.Net.WebRequest'/>
  26.     /// instances for a registered scheme.
  27.     /// </para>
  28.     /// </devdoc>
  29.     public interface IWebRequestCreate
  30.     {
  31.         /// <devdoc>
  32.         /// <para>
  33.         /// Creates a <see cref='System.Net.WebRequest'/>
  34.         /// instance.
  35.         /// </para>
  36.         /// </devdoc>
  37.         WebRequest Create(Uri uri);
  38.        
  39.     }
  40.     // interface IWebRequestCreate
  41. }
  42. // namespace System.Net

Developer Fusion