Boo.Lang.Compiler.TypeSystem.Generics.GenericsServices.HasConstructedType C# (CSharp) Метод

HasConstructedType() публичный статический Метод

Checks that at least one constructed occurence of a specified generic definition is present in the specified type's inheritance hierarchy.
public static HasConstructedType ( IType type, IType definition ) : bool
type IType The type in whose hierarchy to search for constructed type.
definition IType The generic type definition whose constructed versions to search for.
Результат bool
        public static bool HasConstructedType(IType type, IType definition)
        {
            return FindConstructedTypes(type, definition).GetEnumerator().MoveNext();
        }