7 writes to Contents
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
314Contents = 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)
473Contents = "Hello World!",
Aspire.Hosting.Yarp (1)
YarpServiceExtensions.cs (1)
71Contents = contents
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)
352entry.Contents = file.Contents; 354if (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)
186Content = file.Contents,
Aspire.Hosting.PostgreSQL.Tests (4)
AddPostgresTests.cs (4)
485Assert.NotNull(serversFile.Contents); 488var document = JsonDocument.Parse(serversFile.Contents!); 559Assert.Equal(CreatePgWebBookmarkfileContent(db1.Resource), file.Contents); 566Assert.Equal(CreatePgWebBookmarkfileContent(db2.Resource), file.Contents);