7 writes to Contents
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
314
Contents
= Encoding.UTF8.GetString(writeStream.ToArray()),
Aspire.Hosting.Azure.ServiceBus (1)
AzureServiceBusExtensions.cs (1)
452
Contents
= Encoding.UTF8.GetString(writeStream.ToArray()),
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
44
Contents
= "hello world",
Aspire.Hosting.PostgreSQL (2)
PostgresBuilderExtensions.cs (2)
215
Contents
= WritePgAdminServerJson(postgresInstances),
514
Contents
= fileContent,
Aspire.Hosting.Tests (1)
DistributedApplicationTests.cs (1)
473
Contents
= "Hello World!",
Aspire.Hosting.Yarp (1)
YarpServiceExtensions.cs (1)
71
Contents
= 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)
352
entry.Contents = file.
Contents
;
354
if (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)
186
Content = file.
Contents
,
Aspire.Hosting.PostgreSQL.Tests (4)
AddPostgresTests.cs (4)
485
Assert.NotNull(serversFile.
Contents
);
488
var document = JsonDocument.Parse(serversFile.
Contents
!);
559
Assert.Equal(CreatePgWebBookmarkfileContent(db1.Resource), file.
Contents
);
566
Assert.Equal(CreatePgWebBookmarkfileContent(db2.Resource), file.
Contents
);