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

GetMethodInfo() статический приватный Метод

static private GetMethodInfo ( string method ) : FtpMethodInfo
method string
Результат FtpMethodInfo
        internal static FtpMethodInfo GetMethodInfo(string method)
        {
            method = method.ToUpper(CultureInfo.InvariantCulture);
            foreach (FtpMethodInfo methodInfo in s_knownMethodInfo)
                if (method == methodInfo.Method)
                    return methodInfo;
            // We don't support generic methods
            throw new ArgumentException(SR.net_ftp_unsupported_method, nameof(method));
        }