# AspireUnionData

- Kind: `class`
- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Version: `13.4.0`
- Namespace: `Aspire.TypeSystem`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AttributeDataReader.cs)

Name-based adapter for [AspireUnion] attribute data, parsed from `Reflection.CustomAttributeData`.

## Definition

```csharp
namespace Aspire.TypeSystem;

public sealed class AspireUnionData
{
    // ...
}
```

## Constructors

- [AspireUnionData](/reference/api/csharp/aspire.typesystem/aspireuniondata/constructors.md#constructor)

## Properties

- [Types](/reference/api/csharp/aspire.typesystem/aspireuniondata/properties.md#types) : `Type[]` `get; init` -- Gets the CLR types that form the union.
