Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Aspire.Hosting/ContainerResourceBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -789,8 +789,8 @@ public static IResourceBuilder<T> WithContainerFiles<T>(this IResourceBuilder<T>
/// builder.AddContainer("mycontainer", "myimage")
/// .WithContainerFiles("/", (context, cancellationToken) =>
/// {
/// var appModel = context.ServiceProvider.GetRequiredService{DistributedApplicationModel}();
/// var postgresInstances = appModel.Resources.OfType{PostgresDatabaseResource}();
/// var appModel = context.ServiceProvider.GetRequiredService<DistributedApplicationModel>();
/// var postgresInstances = appModel.Resources.OfType<PostgresDatabaseResource>();
///
/// return [
/// new ContainerDirectory
Expand Down