# DovetailHostTypeAttribute Constructors

- Package: [Joinery.Dovetail](/Dovetail/api/joinery.dovetail.md)
- Type: [DovetailHostTypeAttribute](/Dovetail/api/joinery.dovetail/dovetailhosttypeattribute.md)
- Kind: `Constructors`
- Members: `1`

Defines the host type of a given convention

<a id="constructor"></a>
<a id="constructor-dovetailhosttype"></a>

## DovetailHostTypeAttribute(DovetailHostType)

- Name: `Constructor(DovetailHostType)`

Defines the host type of a given convention

```csharp
public sealed class DovetailHostTypeAttribute
{
    public DovetailHostTypeAttribute(
        DovetailHostType hostType)
    {
        // ...
    }
}
```

## Parameters

- `hostType` ([DovetailHostType](/Dovetail/api/joinery.dovetail/dovetailhosttype.md))
