Ancestry.QueryProcessor.Compile.ReflectionUtility.IsSet C# (CSharp) Method

IsSet() public static method

public static IsSet ( System type ) : bool
type System
return bool
        public static bool IsSet(System.Type type)
        {
            return type.IsGenericType && typeof(ISet<>).MakeGenericType(type.GenericTypeArguments[0]).IsAssignableFrom(type);
        }