Class ValueListAssembler
The internal system to manipulate value lists.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class ValueListAssembler
- Inheritance
-
objectValueListAssembler
Remarks
This is used in the builders to create the values for the attributes. It can also be used by external code to create values, but it's not really meant for that, so it's not public API. It's more of an internal helper class, which is why it's not in the Sys namespace.
Important: everything is functional meaning that object given in will never be modified.
Methods
Replace(IEnumerable<IValue>, IValue?, IValue)
public IImmutableList<IValue> Replace(IEnumerable<IValue> values, IValue? oldValueOrNullToAdd, IValue newValue)
Parameters
valuesIEnumerable<IValue>oldValueOrNullToAddIValuenewValueIValue