DtoProperty<TSource,TValue>.SetValue method

Sets the value of the property or field for the specified instance of the DTO.

public void SetValue(TSource source, TValue? value)
parameter description
source The DTO instance.
value The value to which to set the property or field.

Exceptions

exception condition
InvalidOperationException The property or field is read-only, or the DTO is a value type.

See Also