# 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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AttributeDataReader.cs)

Gets whether exported method invocations should run 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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AttributeDataReader.cs)

Gets the CLR type for assembly-level type exports.

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