Skip to content
Docs Try Aspire

AspireExportData Properties

Class Properties 7 members
Name-based adapter for [AspireExport] attribute data, parsed from Reflection.CustomAttributeData.
Description Section titled Description nullable string?
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; }
ExposeProperties Section titled ExposeProperties bool
Gets whether to expose properties of this type as ATS capabilities.
public bool ExposeProperties { get; init; }
Id Section titled Id nullable string?
Gets the method name / capability id from the constructor argument.
public string? Id { get; init; }
MethodName Section titled MethodName nullable string?
Gets the method name override for generated polyglot SDKs.
public string? MethodName { get; init; }
RunSyncOnBackgroundThread Section titled RunSyncOnBackgroundThread bool
Gets whether synchronous exported methods should be invoked on a background thread by the ATS dispatcher.
public bool RunSyncOnBackgroundThread { get; init; }
Type Section titled Type nullable Type?
Gets the CLR type for assembly-level type exports.
public Type? Type { get; init; }