Method ConvertAttributeArgumentCollection
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
ConvertAttributeArgumentCollection(IReadOnlyCollection<CustomAttributeTypedArgument>, Type)
Converts an argument collection from an attribute initializer into an array of the raw values.
public static Array ConvertAttributeArgumentCollection(IReadOnlyCollection<CustomAttributeTypedArgument> collection, Type elementType)
Parameters
collectionIReadOnlyCollection<CustomAttributeTypedArgument>The attribute argument collection.
elementTypeTypeThe element type of the array.
Returns
- Array
The collection of the raw attribute values.