# AtsEnumTypeInfo Properties

- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Type: [AtsEnumTypeInfo](/reference/api/csharp/aspire.typesystem/atsenumtypeinfo.md)
- Kind: `Properties`
- Members: `6`

Represents an enum type discovered during scanning. Used for generating TypeScript enums.

## ClrType

- Name: `ClrType`
- Modifiers: `nullable` `get; init`
- Returns: `Type?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the CLR type reference for direct type access.

```csharp
public Type? ClrType { get; init; }
```

## Documentation

- Name: `Documentation`
- Modifiers: `nullable` `get; init`
- Returns: [AtsDocumentationInfo?](/reference/api/csharp/aspire.typesystem/atsdocumentationinfo.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the XML documentation captured for this enum type.

```csharp
public AtsDocumentationInfo? Documentation { get; init; }
```

## Name

- Name: `Name`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the simple type name (for enum name generation).

```csharp
public string Name { get; init; }
```

## TypeId

- Name: `TypeId`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the ATS type ID for this enum (e.g., "enum:Aspire.Hosting.ApplicationModel.ContainerLifetime").

```csharp
public string TypeId { get; init; }
```

## ValueInfos

- Name: `ValueInfos`
- Modifiers: `get; init`
- Returns: [IReadOnlyList<AtsEnumValueInfo>](/reference/api/csharp/aspire.typesystem/atsenumvalueinfo.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the documented enum values.

```csharp
public IReadOnlyList<AtsEnumValueInfo> ValueInfos { get; init; }
```

## Values

- Name: `Values`
- Modifiers: `get; init`
- Returns: `IReadOnlyList<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets or sets the enum member names.

```csharp
public IReadOnlyList<string> Values { get; init; }
```
