6 writes to Contents
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
315Contents = Encoding.UTF8.GetString(writeStream.ToArray()),
Aspire.Hosting.Azure.ServiceBus (1)
AzureServiceBusExtensions.cs (1)
452Contents = Encoding.UTF8.GetString(writeStream.ToArray()),
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
44Contents = "hello world",
Aspire.Hosting.PostgreSQL (2)
PostgresBuilderExtensions.cs (2)
215Contents = WritePgAdminServerJson(postgresInstances), 514Contents = fileContent,
Aspire.Hosting.Tests (1)
DistributedApplicationTests.cs (1)
562Contents = "Hello World!",
13 references to Contents
Aspire.Hosting (3)
ApplicationModel\ContainerFileSystemCallbackAnnotation.cs (1)
63/// Setting SourcePath is mutually exclusive with <see cref="Contents"/>. If both are set, an exception will be thrown.
Dcp\Model\Container.cs (2)
359entry.Contents = file.Contents; 361if (file.Contents is not null && file.SourcePath is not null)
Aspire.Hosting.Azure.Tests (5)
AzureEventHubsExtensionsTests.cs (2)
382""", configFile.Contents); 440""", configFile.Contents);
AzureServiceBusExtensionsTests.cs (3)
442""", configFile.Contents); 494""", configFile.Contents); 544""", configFile.Contents);
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
218Content = file.Contents,
Aspire.Hosting.PostgreSQL.Tests (4)
AddPostgresTests.cs (4)
480Assert.NotNull(serversFile.Contents); 483var document = JsonDocument.Parse(serversFile.Contents!); 552Assert.Equal(CreatePgWebBookmarkfileContent(db1.Resource), file.Contents); 559Assert.Equal(CreatePgWebBookmarkfileContent(db2.Resource), file.Contents);