Represents a property or field of a DTO.
public interface IDtoProperty
name | description |
---|---|
IsReadOnly { get; } | True if the property or field is read-only. |
MemberInfo { get; } | The PropertyInfo or FieldInfo of the property or field. |
Name { get; } | The name of the property or field. |
ValueType { get; } | The value type of the property or field. |
GetValue(…) | Gets the value of the property or field for the specified instance of the DTO. |
SetValue(…) | Sets the value of the property or field for the specified instance of the DTO. |
Do not implement this interface. Adding members to this interface will not be considered a breaking change to this library.