# AspireUnionData

- Kind: `class`
- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Version: `13.3.0`
- Namespace: `Aspire.TypeSystem`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/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.
