# SquadTeamAnnotation Constructors

- Package: [CommunityToolkit.Aspire.Hosting.Squad](/reference/api/csharp/communitytoolkit.aspire.hosting.squad.md)
- Type: [SquadTeamAnnotation](/reference/api/csharp/communitytoolkit.aspire.hosting.squad/squadteamannotation.md)
- Kind: `Constructors`
- Members: `1`

Carries Squad team metadata on a [SquadResource](/reference/api/csharp/communitytoolkit.aspire.hosting.squad/squadresource.md) so that lifecycle hooks, dashboard annotations, and downstream tooling know where team files live.

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

## SquadTeamAnnotation(string, string, string, string)

- Name: `Constructor(string, string, string, string)`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Squad/SquadTeamAnnotation.cs#L11-L23)

Carries Squad team metadata on a [SquadResource](/reference/api/csharp/communitytoolkit.aspire.hosting.squad/squadresource.md) so that lifecycle hooks, dashboard annotations, and downstream tooling know where team files live.

```csharp
public sealed class SquadTeamAnnotation
{
    public SquadTeamAnnotation(
        string teamRoot,
        string decisionsMdPath,
        string inboxDir,
        string agentRosterFile)
    {
        // ...
    }
}
```

## Parameters

- `teamRoot` (`string`)
  The absolute path to the directory that contains the `.squad/` folder.
- `decisionsMdPath` (`string`)
  The absolute path to `.squad/decisions.md`.
- `inboxDir` (`string`)
  The absolute path to `.squad/decisions/inbox/`.
- `agentRosterFile` (`string`)
  The absolute path to `.squad/team.md` (the agent roster).
