# AtsDtoPropertyInfo

- Kind: `class`
- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Version: `13.4.0`
- Namespace: `Aspire.TypeSystem`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Represents a property of a DTO type.

## Definition

```csharp
namespace Aspire.TypeSystem;

public sealed class AtsDtoPropertyInfo
{
    // ...
}
```

## Constructors

- [AtsDtoPropertyInfo](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/constructors.md#constructor)

## Properties

- [CallbackParameters](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/properties.md#callbackparameters) : [IReadOnlyList<AtsCallbackParameterInfo>](/reference/api/csharp/aspire.typesystem/atscallbackparameterinfo.md) `get; init` -- Gets or sets the parameters of the callback delegate. Only populated when [AtsDtoPropertyInfo.IsCallback](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/properties.md#iscallback) is true.
- [CallbackReturnType](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/properties.md#callbackreturntype) : [AtsTypeRef?](/reference/api/csharp/aspire.typesystem/atstyperef.md) `get; init` -- Gets or sets the return type for the callback delegate. Only populated when [AtsDtoPropertyInfo.IsCallback](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/properties.md#iscallback) is true.
- [Description](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/properties.md#description) : `string?` `get; init` -- Gets or sets a description of this property.
- [Documentation](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/properties.md#documentation) : [AtsDocumentationInfo?](/reference/api/csharp/aspire.typesystem/atsdocumentationinfo.md) `get; init` -- Gets or sets the XML documentation captured for this property.
- [IsCallback](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/properties.md#iscallback) : `bool` `get; init` -- Gets or sets whether this property is a callback delegate. Callbacks are inferred from delegate types (Func, Action, custom delegates).
- [IsOptional](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/properties.md#isoptional) : `bool` `get; init` -- Gets or sets whether this property is optional (nullable or has default).
- [Name](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/properties.md#name) : `string` `get; init` -- Gets or sets the property name.
- [Type](/reference/api/csharp/aspire.typesystem/atsdtopropertyinfo/properties.md#type) : [AtsTypeRef](/reference/api/csharp/aspire.typesystem/atstyperef.md) `get; init` -- Gets or sets the property type reference.
