Skip to content
DocsTry Aspire
DocsTry

AtsContext Methods

ClassMethods1 member
Contains all scanned types, capabilities, and metadata from ATS assembly scanning.
Gets the type category for a CLR type based on scanned data. Used at runtime for marshalling.
public sealed class AtsContext
{
public AtsTypeCategory GetCategory(
Type type)
{
// ...
}
}
typeTypeThe CLR type to classify.
AtsTypeCategoryThe type category.