Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IEnumerable<FieldInfo> GetAllFields(this Type)

Declaration

public static IEnumerable<FieldInfo> GetAllFields(
    this Type type
)

Summary

Returns all fields contained in the specified type, including private fields inherited from base classes.

Parameters

this Typetype The type to return all fields of.

Returns

An IEnumerable<T> containing all fields contained in this type, including private fields inherited from base classes.