AtsTypeInfo
Class sealed net8.0
Represents type information discovered from [AspireExport(AtsTypeId = "...")].
namespace Aspire.TypeSystem;
public sealed class AtsTypeInfo{ // ...} 9 members
Constructors1
Section titled ConstructorsProperties8
Section titled PropertiesAtsTypeIdget; initstring Gets or sets the ATS type ID.
BaseTypeHierarchyget; 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.
ClrTypeget; initType? Gets or sets the CLR type reference for direct type access.
HasExposeMethodsget; initbool Gets or sets whether this type has [AspireExport(ExposeMethods = true)]. Types with this flag will have their methods exposed as capabilities.
HasExposePropertiesget; initbool Gets or sets whether this type has [AspireExport(ExposeProperties = true)]. Types with this flag will have their properties exposed as capabilities.
ImplementedInterfacesget; init Gets or sets the interfaces this type implements. Only populated for concrete (non-interface) types.
IsInterfaceget; initbool Gets or sets whether this type is an interface.
IsResourceBuildergetbool Gets whether this handle type represents an Aspire resource type.