DtoProperty<TSource,TValue> class
Represents a property or field of a DTO.
public sealed class DtoProperty<TSource, TValue> : IDtoProperty<TSource>
parameter |
description |
TSource |
The type of DTO. |
TValue |
The value type of the property or field. |
Public Members
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. |
See Also