Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 707 Bytes

File metadata and controls

25 lines (17 loc) · 707 Bytes

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