Bosphorus.Dao.Common.Instantiator.ListInstantiator.IsApplicable C# (CSharp) Method

IsApplicable() public method

public IsApplicable ( Type type ) : bool
type System.Type
return bool
        public bool IsApplicable(Type type)
        {
            if (!type.IsGenericType)
            {
                return false;
            }

            Type genericTypeDefinition = type.GetGenericTypeDefinition();
            bool result = genericTypeDefinition == typeof (IList<>);
            return result;
        }
ListInstantiator