ContextualAccessorInfo
Base class for a contextual property or field.
using System.Runtime.CompilerServices;
namespace Namotion.Reflection
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class ContextualAccessorInfo : ContextualMemberInfo
{
public abstract ContextualType AccessorType { get; }
public Nullability Nullability => AccessorType.Nullability;
[System.Runtime.CompilerServices.NullableContext(2)]
public abstract object GetValue(object obj);
[System.Runtime.CompilerServices.NullableContext(2)]
public abstract void SetValue(object obj, object value);
}
}