|
Online Maps v3
|
Helper class for compatibility of reflection on WSA. More...
Static Public Member Functions | |
| static bool | CheckIfAnonymousType (Type type) |
| Checks whether the type is anonymous. | |
| static TypeAttributes | GetAttributes (Type type) |
| Gets the attributes associated with the Type. | |
| static string | GetEnumDescription (Enum value) |
| Get OnlineMapsDescription attribute from Enum. | |
| static IEnumerable< FieldInfo > | GetFields (Type type, BindingFlags bindingAttr=DefaultLookup) |
| Searches for the fields defined for the current Type, using the specified binding constraints. | |
| static Type[] | GetGenericArguments (Type type) |
| Returns an array of Type objects that represent the type arguments of a generic type or the type parameters of a generic type definition. | |
| static MemberInfo | GetMember (Type type, string name) |
| Searches for the public members with the specified name. | |
| static IEnumerable< MemberInfo > | GetMembers (Type type, BindingFlags bindingAttr=DefaultLookup) |
| searches for the members defined for the current Type, using the specified binding constraints. | |
| static MemberTypes | GetMemberType (MemberInfo member) |
| Gets a MemberTypes value indicating the type of the member — method, constructor, event, and so on. | |
| static MethodInfo | GetMethod (Type type, string name) |
| Searches for the public method with the specified name. | |
| static MethodInfo | GetMethod (Type type, string name, Type[] types) |
| Searches for the specified public method whose parameters match the specified argument types. | |
| static PropertyInfo[] | GetProperties (Type type) |
| Returns all the public properties of the current Type. | |
| static bool | IsClass (Type type) |
| Gets a value indicating whether the Type is a class; that is, not a value type or interface. | |
| static bool | IsGenericType (Type type) |
| Gets a value indicating whether the current type is a generic type. | |
| static bool | IsValueType (Type type) |
| Gets a value indicating whether the Type is a value type. | |
Helper class for compatibility of reflection on WSA.
|
static |
Checks whether the type is anonymous.
| type | Type |
|
static |
Gets the attributes associated with the Type.
| type | Type |
|
static |
Get OnlineMapsDescription attribute from Enum.
| value | Enum value |
|
static |
Searches for the fields defined for the current Type, using the specified binding constraints.
| type | Type |
| bindingAttr | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
|
static |
Returns an array of Type objects that represent the type arguments of a generic type or the type parameters of a generic type definition.
| type | Type |
|
static |
Searches for the public members with the specified name.
| type | Type |
| name | The String containing the name of the public members to get. |
|
static |
searches for the members defined for the current Type, using the specified binding constraints.
| type | Type |
| bindingAttr | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
|
static |
Gets a MemberTypes value indicating the type of the member — method, constructor, event, and so on.
| member | MemberInfo |
|
static |
Searches for the public method with the specified name.
| type | Type |
| name | The String containing the name of the public method to get. |
|
static |
Searches for the specified public method whose parameters match the specified argument types.
| type | Type |
| name | The String containing the name of the public method to get. |
| types | An array of Type objects representing the number, order, and type of the parameters for the method to get. |
|
static |
Returns all the public properties of the current Type.
| type | Type |
|
static |
Gets a value indicating whether the Type is a class; that is, not a value type or interface.
| type | Type |
|
static |
Gets a value indicating whether the current type is a generic type.
| type | Type |
|
static |
Gets a value indicating whether the Type is a value type.
| type | Type |