Sets the value of the property or field for the specified instance of the DTO.
public void SetValue(T source, object? value)
| parameter | description |
|---|---|
| source | The DTO instance. |
| value | The value to which to set the property or field. |
| exception | condition |
|---|---|
| InvalidOperationException | The property or field is read-only, or the DTO is a value type. |