ApplyChanges(object, in ApplyChangesContext)
Returns an object where the properties of the current objects are overwritten or complemented by the properties of another given object, except if these properties are not set.
Declaration
object ApplyChanges(object changes, in ApplyChangesContext context)
Parameters
Type | Name | Description |
---|---|---|
object | changes | The object being applied on the current object, which property values, if they are set, take precedence over the ones of the current object. |
ApplyChangesContext | context | Information about the context of the current operation. |
Returns
Type | Description |
---|---|
object | A new immutable instance of the same class. |