Class TypeInfoAllMemberExtensions
Extensions for TypeInfo.
Inherited Members
Namespace: Evergine.Common.Helpers
Assembly: Evergine.Common.dll
Syntax
public static class TypeInfoAllMemberExtensions
  Methods
GetAllConstructors(TypeInfo)
Get contructors of the type and its base types.
Declaration
public static IEnumerable<ConstructorInfo> GetAllConstructors(this TypeInfo typeInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TypeInfo | typeInfo | The type info.  | 
      
Returns
| Type | Description | 
|---|---|
| IEnumerable<ConstructorInfo> | All the contructors.  | 
      
GetAllEvents(TypeInfo)
Get events of the type and its base types.
Declaration
public static IEnumerable<EventInfo> GetAllEvents(this TypeInfo typeInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TypeInfo | typeInfo | The type info.  | 
      
Returns
| Type | Description | 
|---|---|
| IEnumerable<EventInfo> | All the events.  | 
      
GetAllFields(TypeInfo)
Get fields of the type and its base types.
Declaration
public static IEnumerable<FieldInfo> GetAllFields(this TypeInfo typeInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TypeInfo | typeInfo | The type info.  | 
      
Returns
| Type | Description | 
|---|---|
| IEnumerable<FieldInfo> | All the fields.  | 
      
GetAllMembers(TypeInfo)
Get members of the type and its base types.
Declaration
public static IEnumerable<MemberInfo> GetAllMembers(this TypeInfo typeInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TypeInfo | typeInfo | The type info.  | 
      
Returns
| Type | Description | 
|---|---|
| IEnumerable<MemberInfo> | All the members.  | 
      
GetAllMethods(TypeInfo)
Get methods of the type and its base types.
Declaration
public static IEnumerable<MethodInfo> GetAllMethods(this TypeInfo typeInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TypeInfo | typeInfo | The type info.  | 
      
Returns
| Type | Description | 
|---|---|
| IEnumerable<MethodInfo> | All the methods.  | 
      
GetAllNestedTypes(TypeInfo)
Get nested types of the type and its base types.
Declaration
public static IEnumerable<TypeInfo> GetAllNestedTypes(this TypeInfo typeInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TypeInfo | typeInfo | The type info.  | 
      
Returns
| Type | Description | 
|---|---|
| IEnumerable<TypeInfo> | All the nested types.  | 
      
GetAllProperties(TypeInfo)
Get properties of the type and its base types.
Declaration
public static IEnumerable<PropertyInfo> GetAllProperties(this TypeInfo typeInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TypeInfo | typeInfo | The type info.  | 
      
Returns
| Type | Description | 
|---|---|
| IEnumerable<PropertyInfo> | All the properties.  |