Skip to content
Docs Try Aspire

AtsTypeInfo Properties

Class Properties 8 members
Represents type information discovered from [AspireExport(AtsTypeId = "...")].
Gets or sets the ATS type ID.
public string AtsTypeId { get; init; }
Gets or sets the base type hierarchy (from immediate base up to Resource/Object). Only populated for concrete (non-interface) types. Used for expanding capabilities targeting base types to derived types.
public IReadOnlyList<AtsTypeRef> BaseTypeHierarchy { get; init; }
ClrType Section titled ClrType nullable Type?
Gets or sets the CLR type reference for direct type access.
public Type? ClrType { get; init; }
HasExposeMethods Section titled HasExposeMethods bool
Gets or sets whether this type has [AspireExport(ExposeMethods = true)]. Types with this flag will have their methods exposed as capabilities.
public bool HasExposeMethods { get; init; }
HasExposeProperties Section titled HasExposeProperties bool
Gets or sets whether this type has [AspireExport(ExposeProperties = true)]. Types with this flag will have their properties exposed as capabilities.
public bool HasExposeProperties { get; init; }
Gets or sets the interfaces this type implements. Only populated for concrete (non-interface) types.
public IReadOnlyList<AtsTypeRef> ImplementedInterfaces { get; init; }
Gets or sets whether this type is an interface.
public bool IsInterface { get; init; }
IsResourceBuilder Section titled IsResourceBuilder bool
Gets whether this handle type represents an Aspire resource type.
public bool IsResourceBuilder { get; }