Aqueduct.SitecoreLib.DataAccess.ValueResolvers.ResolverHelper.CheckIsGenericType C# (CSharp) Метод

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

private static CheckIsGenericType ( Type type, string methodName ) : void
type System.Type
methodName string
Результат void
        private static void CheckIsGenericType (Type type, string methodName)
        {
            if (!type.IsGenericType)
            {
                string message = string.Format("{0}() called with invalid Type ({1})",
                                               methodName, type.FullName);
                throw new Exception(message);
            }
        }
    }