# BicepTemplateFile Constructors

- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Type: [BicepTemplateFile](/reference/api/csharp/aspire.hosting.azure/biceptemplatefile.md)
- Kind: `Constructors`
- Members: `1`

Represents a bicep template file.

## BicepTemplateFile(string, bool)

- Name: `Constructor(string, bool)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureBicepResource.cs#L556)

Represents a bicep template file.

```csharp
public struct BicepTemplateFile
{
    public BicepTemplateFile(
        string path,
        bool deleteFileOnDispose)
    {
        // ...
    }
}
```

## Parameters

- `path` (`string`)
  The path to the bicep file.
- `deleteFileOnDispose` (`bool`)
  Determines if the file should be deleted on disposal.
