14 references to Path
Aspire.Hosting.Azure (6)
AzureBicepResource.cs (2)
234
var path = template.
Path
;
514
File.Delete(
Path
);
AzureProvisioningResource.cs (1)
110
_generatedBicep = File.ReadAllText(template.
Path
);
AzurePublishingContext.cs (2)
191
File.Copy(file.
Path
, modulePath, true);
445
File.Copy(file.
Path
, modulePath, true);
Provisioning\Provisioners\BicepProvisioner.cs (1)
549
var path = template.
Path
;
Aspire.Hosting.Azure.Tests (8)
AzureBicepResourceTests.cs (8)
274
Assert.Equal(bicepFilePath, templateFile.
Path
);
275
Assert.True(File.Exists(templateFile.
Path
), $"The template file should exist at {templateFile.
Path
}");
295
Assert.Equal(bicepFilePath, templateFile.
Path
);
316
Assert.StartsWith(outputDir, templateFile.
Path
);
317
Assert.True(File.Exists(templateFile.
Path
), $"The template file should exist at {templateFile.
Path
}");
318
Assert.Equal(bicepContent, File.ReadAllText(templateFile.
Path
));