Bosphorus.Dao.Common.Instantiator.ListInstantiator.IsApplicable C# (CSharp) Метод

IsApplicable() публичный Метод

public IsApplicable ( Type type ) : bool
type System.Type
Результат bool
        public bool IsApplicable(Type type)
        {
            if (!type.IsGenericType)
            {
                return false;
            }

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