C# Class Ancestry.QueryProcessor.Compile.ReflectionUtility

Afficher le fichier Open project: Ancestry/DotQL

Méthodes publiques

Свойство Type Description
ArrayLength System.Reflection.PropertyInfo
DateTimeTicksConstructor System.Reflection.ConstructorInfo
IEnumerableMoveNext System.Reflection.MethodInfo
IRepositoryFactoryGetRepository System.Reflection.MethodInfo
NameComponents System.Reflection.FieldInfo
NameFromComponents System.Reflection.MethodInfo
NameFromNative System.Reflection.MethodInfo
ObjectEquals System.Reflection.MethodInfo
ObjectGetHashCode System.Reflection.MethodInfo
RuntimeGetInitializer System.Reflection.MethodInfo
StringCompare System.Reflection.MethodInfo
StringConcat System.Reflection.MethodInfo
TimeSpanTicksConstructor System.Reflection.ConstructorInfo
TypeGetTypeFromHandle System.Reflection.MethodInfo

Méthodes publiques

Méthode Description
GetDefaultValue ( System type ) : object
GetMethodExt ( this thisType, string name ) : MethodInfo

Search for a method by name and parameter types. Unlike GetMethod(), does 'loose' matching on generic parameter types, and searches base interfaces.

GetMethodExt ( this thisType, string name, BindingFlags bindingFlags ) : MethodInfo

Search for a method by name, parameter types, and binding flags. Unlike GetMethod(), does 'loose' matching on generic parameter types, and searches base interfaces.

IsFunction ( System type ) : bool
IsNary ( System type ) : bool
IsRepository ( System type ) : bool
IsSet ( System type ) : bool
IsTupleType ( System type ) : bool

Private Methods

Méthode Description
GetMethodExt ( MethodInfo &matchingMethod, System type, string name, BindingFlags bindingFlags ) : void
IsSimilarType ( this thisType, System type ) : bool

Determines if the two types are either identical, or are both generic parameters or generic types with generic parameters in the same locations (generic parameters match any other generic parameter, but NOT concrete types).

Method Details

GetDefaultValue() public static méthode

public static GetDefaultValue ( System type ) : object
type System
Résultat object

GetMethodExt() public static méthode

Search for a method by name and parameter types. Unlike GetMethod(), does 'loose' matching on generic parameter types, and searches base interfaces.
public static GetMethodExt ( this thisType, string name ) : MethodInfo
thisType this
name string
Résultat System.Reflection.MethodInfo

GetMethodExt() public static méthode

Search for a method by name, parameter types, and binding flags. Unlike GetMethod(), does 'loose' matching on generic parameter types, and searches base interfaces.
public static GetMethodExt ( this thisType, string name, BindingFlags bindingFlags ) : MethodInfo
thisType this
name string
bindingFlags BindingFlags
Résultat System.Reflection.MethodInfo

IsFunction() public static méthode

public static IsFunction ( System type ) : bool
type System
Résultat bool

IsNary() public static méthode

public static IsNary ( System type ) : bool
type System
Résultat bool

IsRepository() public static méthode

public static IsRepository ( System type ) : bool
type System
Résultat bool

IsSet() public static méthode

public static IsSet ( System type ) : bool
type System
Résultat bool

IsTupleType() public static méthode

public static IsTupleType ( System type ) : bool
type System
Résultat bool

Property Details

ArrayLength public_oe static_oe property

public static PropertyInfo,System.Reflection ArrayLength
Résultat System.Reflection.PropertyInfo

DateTimeTicksConstructor public_oe static_oe property

public static ConstructorInfo,System.Reflection DateTimeTicksConstructor
Résultat System.Reflection.ConstructorInfo

IEnumerableMoveNext public_oe static_oe property

public static MethodInfo,System.Reflection IEnumerableMoveNext
Résultat System.Reflection.MethodInfo

IRepositoryFactoryGetRepository public_oe static_oe property

public static MethodInfo,System.Reflection IRepositoryFactoryGetRepository
Résultat System.Reflection.MethodInfo

NameComponents public_oe static_oe property

public static FieldInfo,System.Reflection NameComponents
Résultat System.Reflection.FieldInfo

NameFromComponents public_oe static_oe property

public static MethodInfo,System.Reflection NameFromComponents
Résultat System.Reflection.MethodInfo

NameFromNative public_oe static_oe property

public static MethodInfo,System.Reflection NameFromNative
Résultat System.Reflection.MethodInfo

ObjectEquals public_oe static_oe property

public static MethodInfo,System.Reflection ObjectEquals
Résultat System.Reflection.MethodInfo

ObjectGetHashCode public_oe static_oe property

public static MethodInfo,System.Reflection ObjectGetHashCode
Résultat System.Reflection.MethodInfo

RuntimeGetInitializer public_oe static_oe property

public static MethodInfo,System.Reflection RuntimeGetInitializer
Résultat System.Reflection.MethodInfo

StringCompare public_oe static_oe property

public static MethodInfo,System.Reflection StringCompare
Résultat System.Reflection.MethodInfo

StringConcat public_oe static_oe property

public static MethodInfo,System.Reflection StringConcat
Résultat System.Reflection.MethodInfo

TimeSpanTicksConstructor public_oe static_oe property

public static ConstructorInfo,System.Reflection TimeSpanTicksConstructor
Résultat System.Reflection.ConstructorInfo

TypeGetTypeFromHandle public_oe static_oe property

public static MethodInfo,System.Reflection TypeGetTypeFromHandle
Résultat System.Reflection.MethodInfo