C# Class Machine.Mta.TypeHelpers

Afficher le fichier Open project: machine/machine.mta

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CompareGenericParameterTypes ( Type type1, Type type2 ) : Int32
CompareTypes ( Type type1, Type type2 ) : Int32

Method Details

AllGenericVariations() public static méthode

public static AllGenericVariations ( this type, Type genericType ) : IEnumerable
type this
genericType System.Type
Résultat IEnumerable

BiggerThan() public static méthode

public static BiggerThan ( this types, Type target ) : IEnumerable
types this
target System.Type
Résultat IEnumerable

Interfaces() public static méthode

public static Interfaces ( this type ) : IEnumerable
type this
Résultat IEnumerable

IsGenericlyCompatible() public static méthode

public static IsGenericlyCompatible ( this type1, Type type2 ) : bool
type1 this
type2 System.Type
Résultat bool

IsImplementationOfGenericType() public static méthode

public static IsImplementationOfGenericType ( this type, Type genericType ) : bool
type this
genericType System.Type
Résultat bool

SmallerType() public static méthode

public static SmallerType ( this types ) : Type
types this
Résultat System.Type