AngleSharp.Io.Extensions.GeneralExtensions.Stringify C# (CSharp) Метод

Stringify() публичный статический Метод

Returns the string representation for the specified HTTP method.
public static Stringify ( this method ) : String
method this The type of HTTP method to stringify.
Результат String
        public static String Stringify(this HttpMethod method)
        {
            switch (method)
            {
                case HttpMethod.Get:
                    return "GET";
                case HttpMethod.Delete:
                    return "DELETE";
                case HttpMethod.Post:
                    return "POST";
                case HttpMethod.Put:
                    return "PUT";
                default:
                    return method.ToString().ToUpperInvariant();
            }
        }
GeneralExtensions