Class FieldInfoExtensions
- Namespace
- Garyon.Reflection
- Assembly
- Garyon.dll
Contains extension methods for the FieldInfo class.
public static class FieldInfoExtensions
- Inheritance
-
FieldInfoExtensions
- Inherited Members
Methods
GetAccessibilityModifiers(FieldInfo)
public static AccessibilityModifiers GetAccessibilityModifiers(this FieldInfo field)
Parameters
fieldFieldInfo
Returns
GetFieldInvokableTypeKind(FieldInfo)
Determines the kind of the invokable type of a field.
public static InvokableTypeKind GetFieldInvokableTypeKind(this FieldInfo field)
Parameters
fieldFieldInfoThe field whose type to evaluate.
Returns
- InvokableTypeKind
The respective kind of invokable type that the field's type is. Invalid will be returned if the field type is not an invokable type.