Type Summary





Type Summary


CF public class UriBuilder

    {

    // Constructors

    CF public UriBuilder();

    CF public UriBuilder(string uri);

    CF public UriBuilder(string schemeName, string hostName);

    CF public UriBuilder(string scheme, string host, int portNumber);

    CF public UriBuilder(string scheme, string host, int port,

              string pathValue);

    CF public UriBuilder(string scheme, string host, int port, string path,

              string extraValue);

    CF public UriBuilder(Uri uri);



    // Properties

    CF public string Fragment { get; set; }

    CF public string Host { get; set; }

    CF public string Password { get; set; }

    CF public string Path { get; set; }

    CF public int Port { get; set; }

    CF public string Query { get; set; }

    CF public string Scheme { get; set; }

    CF public Uri Uri { get; }

    CF public string UserName { get; set; }



    // Methods

    CF public override bool Equals(object rparam);

    CF public override int GetHashCode();

    CF public override string ToString();

    }


JM You might notice a similarity between Uri/UriBuilder and String/StringBuilder. That's because they are similar in concept. A Uri/String is immutable (read-only, if you will). A UriBuilder/StringBuilder provides a mechanism to modify the contents of a Uri/String without having to destroy and recreate a Uri/String each time (which, if done often enough, could hurt performance).



     Python   SQL   Java   php   Perl 
     game development   web development   internet   *nix   graphics   hardware 
     telecommunications   C++ 
     Flash   Active Directory   Windows