14 references to Path
Aspire.Hosting.Azure (6)
AzureBicepResource.cs (2)
225
var path = template.
Path
;
565
File.Delete(
Path
);
AzureProvisioningResource.cs (1)
110
_generatedBicep = File.ReadAllText(template.
Path
);
AzurePublishingContext.cs (2)
160
File.Copy(file.
Path
, modulePath, true);
344
File.Copy(file.
Path
, modulePath, true);
Provisioning\Provisioners\BicepProvisioner.cs (1)
144
var path = template.
Path
;
Aspire.Hosting.Azure.Tests (8)
AzureBicepResourceTests.cs (8)
275
Assert.Equal(bicepFilePath, templateFile.
Path
);
276
Assert.True(File.Exists(templateFile.
Path
), $"The template file should exist at {templateFile.
Path
}");
296
Assert.Equal(bicepFilePath, templateFile.
Path
);
317
Assert.StartsWith(outputDir, templateFile.
Path
);
318
Assert.True(File.Exists(templateFile.
Path
), $"The template file should exist at {templateFile.
Path
}");
319
Assert.Equal(bicepContent, File.ReadAllText(templateFile.
Path
));