Skip to content
Docs Try Aspire

AtsEnumTypeInfo Properties

Class Properties 4 members
Represents an enum type discovered during scanning. Used for generating TypeScript enums.
ClrType Section titled ClrType nullable Type?
Gets or sets the CLR type reference for direct type access.
public Type? ClrType { get; init; }
Gets or sets the simple type name (for enum name generation).
public string Name { get; init; }
Gets or sets the ATS type ID for this enum (e.g., "enum:Aspire.Hosting.ApplicationModel.ContainerLifetime").
public string TypeId { get; init; }
Values Section titled Values IReadOnlyList<string>
Gets or sets the enum member names.
public IReadOnlyList<string> Values { get; init; }