# DovetailHostTypeAttribute

- Kind: `class`
- Package: [Joinery.Dovetail](/Dovetail/api/joinery.dovetail.md)
- Version: `0.4.3-beta.13`
- Namespace: `Joinery.Dovetail.Attributes`
- Target framework: `net10.0`
- Inherits: `Attribute`

Defines the host type of a given convention

## Definition

```csharp
namespace Joinery.Dovetail.Attributes;

public sealed class DovetailHostTypeAttribute
    : System.Attribute
{
    // ...
}
```

## Constructors

- [DovetailHostTypeAttribute(DovetailHostType)](/Dovetail/api/joinery.dovetail/dovetailhosttypeattribute/constructors.md#constructor-dovetailhosttype) -- Defines the host type of a given convention

## Properties

- [HostType](/Dovetail/api/joinery.dovetail/dovetailhosttypeattribute/properties.md#hosttype) : [DovetailHostType](/Dovetail/api/joinery.dovetail/dovetailhosttype.md) `get` -- The host type of a given convention
