Aqueduct.SitecoreLib.DataAccess.ValueResolvers.ValuesListResolver.IsGenericParameterOfTypeNotAssignableToISitecoreDomainEnitity C# (CSharp) Method

IsGenericParameterOfTypeNotAssignableToISitecoreDomainEnitity() private static method

private static IsGenericParameterOfTypeNotAssignableToISitecoreDomainEnitity ( Type propertyType ) : bool
propertyType System.Type
return bool
        private static bool IsGenericParameterOfTypeNotAssignableToISitecoreDomainEnitity(Type propertyType)
        {
            Type argumentType = ResolverHelper.GetArgumentType(propertyType);
            return !typeof(ISitecoreDomainEntity).IsAssignableFrom(argumentType);
        }