# AspireExportData Properties

- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Type: [AspireExportData](/reference/api/csharp/aspire.typesystem/aspireexportdata.md)
- Kind: `Properties`
- Members: `7`

Name-based adapter for [AspireExport] attribute data, parsed from `Reflection.CustomAttributeData`.

## Description

- Name: `Description`
- Modifiers: `nullable` `get; init`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AttributeDataReader.cs)

Gets a description of what this export does.

```csharp
public string? Description { get; init; }
```

## ExposeMethods

- Name: `ExposeMethods`
- Modifiers: `get; init`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AttributeDataReader.cs)

Gets whether to expose public instance methods of this type as ATS capabilities.

```csharp
public bool ExposeMethods { get; init; }
```

## ExposeProperties

- Name: `ExposeProperties`
- Modifiers: `get; init`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AttributeDataReader.cs)

Gets whether to expose properties of this type as ATS capabilities.

```csharp
public bool ExposeProperties { get; init; }
```

## Id

- Name: `Id`
- Modifiers: `nullable` `get; init`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AttributeDataReader.cs)

Gets the method name / capability id from the constructor argument.

```csharp
public string? Id { get; init; }
```

## MethodName

- Name: `MethodName`
- Modifiers: `nullable` `get; init`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AttributeDataReader.cs)

Gets the method name override for generated polyglot SDKs.

```csharp
public string? MethodName { get; init; }
```

## RunSyncOnBackgroundThread

- Name: `RunSyncOnBackgroundThread`
- Modifiers: `get; init`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AttributeDataReader.cs)

Gets whether synchronous exported methods should be invoked on a background thread by the ATS dispatcher.

```csharp
public bool RunSyncOnBackgroundThread { get; init; }
```

## Type

- Name: `Type`
- Modifiers: `nullable` `get; init`
- Returns: `Type?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AttributeDataReader.cs)

Gets the CLR type for assembly-level type exports.

```csharp
public Type? Type { get; init; }
```
