Amazon.Util.Extensions.ToUpper C# (CSharp) 메소드

ToUpper() 정적인 개인적인 메소드

static private ToUpper ( this str, CultureInfo culture ) : string
str this
culture System.Globalization.CultureInfo
리턴 string
        internal static string ToUpper(this String str, CultureInfo culture)
        {
            if (culture != CultureInfo.InvariantCulture)
                throw new ArgumentException("The extension method ToUpper only works for invariant culture");
            return str.ToUpperInvariant();
        }
    }
Extensions