<PackageReference Include="Namotion.Reflection" Version="3.4.3" />

ContextualAccessorInfo

Base class for a contextual property or field.
public abstract ContextualType AccessorType { get; }

Gets the accessor's type.

public Nullability Nullability { get; }

Gets the nullability information of this accessor's type in the given context by unwrapping Nullable{T}.

public abstract object GetValue(object obj)

Returns the value of a field supported by a given object.

public abstract void SetValue(object obj, object value)

Sets the value of the field supported by the given object.