-
Home
-
API
-
Tomlyn.Serialization
-
TomlSerializerContext
-
Methods
-
AddCollectionToSingleOrArrayCollection(Object, IEnumerable)
AddCollectionToSingleOrArrayCollection(Object, IEnumerable) Method
Definition
Adds incoming values to an existing collection for source-generated TomlSingleOrArrayAttribute handling.
protected static object AddCollectionToSingleOrArrayCollection<T>(object existingValue, IEnumerable<T> incomingCollection)
Type parameters
- T
- The collection element type.
Parameters
- existingValue
- Object
The existing collection instance.
Returns
- Object
- The populated collection instance.