ReviewR.Web.Infrastructure.UrlExtensions.UrlExtensions C# (CSharp) Method

UrlExtensions() static private method

static private UrlExtensions ( ) : System
return System
        static UrlExtensions()
        {
            TupleCreateMethod = typeof(Tuple).GetMethods()
                                             .Where(m => m.Name.Equals("Create") && m.IsGenericMethod && m.GetGenericArguments().Length == 2)
                                             .Select(m => m.MakeGenericMethod(typeof(string), typeof(int)))
                                             .Single();
        }