GetAllFields Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
GetAllFields(IDecorator<Type>, Action<MemberReflectionOptions>)
Retrieves a collection that represents all fields defined on the enclosed Type of the specified decorator and its inheritance chain.
public static IEnumerable<FieldInfo> GetAllFields(this IDecorator<Type> decorator, Action<MemberReflectionOptions> setup = null)
Parameters
decoratorIDecorator<Type>The Type to extend.
setupAction<MemberReflectionOptions>The MemberReflectionOptions which may be configured.
Returns
- IEnumerable<FieldInfo>
An IEnumerable<T> that contains all FieldInfo objects on the enclosed Type of the specified
decoratorand its inheritance chain.