Skip to content
Docs Try Aspire

AtsDtoTypeInfo Properties

Class Properties 5 members
Represents a DTO type discovered from [AspireDto] attributes. Used for generating TypeScript interfaces for DTOs.
ClrType Section titled ClrType nullable Type?
Gets or sets the CLR type reference for direct type access.
public Type? ClrType { get; init; }
Description Section titled Description nullable string?
Gets or sets a description of this DTO type.
public string? Description { get; init; }
Gets or sets the simple type name (for interface name generation).
public string Name { get; init; }
Gets or sets the properties of this DTO.
public IReadOnlyList<AtsDtoPropertyInfo> Properties { get; init; }
Gets or sets the ATS type ID for this DTO.
public string TypeId { get; init; }