Skip to content
DocsTry Aspire
DocsTry

AspireExportData Properties

ClassProperties7 members
Name-based adapter for [AspireExport] attribute data, parsed from Reflection.CustomAttributeData.
DescriptionSection titled Descriptionnullablestring?
Gets a description of what this export does.
public string? Description { get; init; }
Gets whether to expose public instance methods of this type as ATS capabilities.
public bool ExposeMethods { get; init; }
Gets whether to expose properties of this type as ATS capabilities.
public bool ExposeProperties { get; init; }
IdSection titled Idnullablestring?
Gets the method name / capability id from the constructor argument.
public string? Id { get; init; }
MethodNameSection titled MethodNamenullablestring?
Gets the method name override for generated polyglot SDKs.
public string? MethodName { get; init; }
RunSyncOnBackgroundThreadSection titled RunSyncOnBackgroundThreadbool
Gets whether exported method invocations should run on a background thread by the ATS dispatcher.
public bool RunSyncOnBackgroundThread { get; init; }
TypeSection titled TypenullableType?
Gets the CLR type for assembly-level type exports.
public Type? Type { get; init; }