C# Класс Machine.Mta.TypeHelpers

Показать файл Открыть проект

Открытые методы

Метод Описание
AllGenericVariations ( this type, Type genericType ) : IEnumerable
BiggerThan ( this types, Type target ) : IEnumerable
Interfaces ( this type ) : IEnumerable
IsGenericlyCompatible ( this type1, Type type2 ) : bool
IsImplementationOfGenericType ( this type, Type genericType ) : bool
SmallerType ( this types ) : Type

Приватные методы

Метод Описание
CompareGenericParameterTypes ( Type type1, Type type2 ) : Int32
CompareTypes ( Type type1, Type type2 ) : Int32

Описание методов

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

public static AllGenericVariations ( this type, Type genericType ) : IEnumerable
type this
genericType System.Type
Результат IEnumerable

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

public static BiggerThan ( this types, Type target ) : IEnumerable
types this
target System.Type
Результат IEnumerable

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

public static Interfaces ( this type ) : IEnumerable
type this
Результат IEnumerable

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

public static IsGenericlyCompatible ( this type1, Type type2 ) : bool
type1 this
type2 System.Type
Результат bool

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

public static IsImplementationOfGenericType ( this type, Type genericType ) : bool
type this
genericType System.Type
Результат bool

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

public static SmallerType ( this types ) : Type
types this
Результат System.Type