System.Net.HttpListenerRequestUriBuilder.HttpListenerRequestUriBuilder C# (CSharp) Метод

HttpListenerRequestUriBuilder() приватный Метод

private HttpListenerRequestUriBuilder ( string rawUri, string cookedUriScheme, string cookedUriHost, string cookedUriPath, string cookedUriQuery ) : System.Diagnostics
rawUri string
cookedUriScheme string
cookedUriHost string
cookedUriPath string
cookedUriQuery string
Результат System.Diagnostics
        private HttpListenerRequestUriBuilder(string rawUri, string cookedUriScheme, string cookedUriHost,
            string cookedUriPath, string cookedUriQuery)
        {
            Debug.Assert(!string.IsNullOrEmpty(rawUri), "Empty raw URL.");
            Debug.Assert(!string.IsNullOrEmpty(cookedUriScheme), "Empty cooked URL scheme.");
            Debug.Assert(!string.IsNullOrEmpty(cookedUriHost), "Empty cooked URL host.");
            Debug.Assert(!string.IsNullOrEmpty(cookedUriPath), "Empty cooked URL path.");

            _rawUri = rawUri;
            _cookedUriScheme = cookedUriScheme;
            _cookedUriHost = cookedUriHost;
            _cookedUriPath = AddSlashToAsteriskOnlyPath(cookedUriPath);
            _cookedUriQuery = cookedUriQuery ?? string.Empty;
        }