Search Results for

    Show / Hide Table of Contents

    Class TypeInfoAllMemberExtensions

    Extension methods for TypeInfo.

    Inheritance
    object
    TypeInfoAllMemberExtensions
    Namespace: Evergine.Common.Helpers
    Assembly: Evergine.Common.dll
    Syntax
    public static class TypeInfoAllMemberExtensions

    Methods

    GetAllConstructors(TypeInfo)

    Get constructors 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 constructors.

    GetAllEvents(TypeInfo)

    Gets 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)

    Gets 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)

    Gets 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)

    Gets 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)

    Gets 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)

    Gets 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.

    In this article
    Back to top
    Generated by DocFX