16 references to Path
Aspire.Hosting.Azure (6)
AzureBicepResource.cs (2)
232
var path = template.
Path
;
522
File.Delete(
Path
);
AzureProvisioningResource.cs (1)
149
_generatedBicep = File.ReadAllText(template.
Path
);
AzurePublishingContext.cs (2)
188
File.Copy(file.
Path
, modulePath, true);
477
File.Copy(file.
Path
, modulePath, true);
Provisioning\Provisioners\BicepProvisioner.cs (1)
546
var path = template.
Path
;
Aspire.Hosting.Azure.EntraId.Tests (2)
EntraIdProvisioningTests.cs (2)
143
var firstContents = File.ReadAllText(first.
Path
);
145
var secondContents = File.ReadAllText(second.
Path
);
Aspire.Hosting.Azure.Tests (8)
AzureBicepResourceTests.cs (8)
271
Assert.Equal(bicepFilePath, templateFile.
Path
);
272
Assert.True(File.Exists(templateFile.
Path
), $"The template file should exist at {templateFile.
Path
}");
292
Assert.Equal(bicepFilePath, templateFile.
Path
);
313
Assert.StartsWith(outputDir, templateFile.
Path
);
314
Assert.True(File.Exists(templateFile.
Path
), $"The template file should exist at {templateFile.
Path
}");
315
Assert.Equal(bicepContent, File.ReadAllText(templateFile.
Path
));