Skip to content

Commit 86e1f2a

Browse files
authored
Fix typo in doccomment in ContainerResourceBuilderExtensions.cs (#9342)
* fix doccomment * use escaped characters
1 parent 08b8af7 commit 86e1f2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Aspire.Hosting/ContainerResourceBuilderExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,8 +789,8 @@ public static IResourceBuilder<T> WithContainerFiles<T>(this IResourceBuilder<T>
789789
/// builder.AddContainer("mycontainer", "myimage")
790790
/// .WithContainerFiles("/", (context, cancellationToken) =>
791791
/// {
792-
/// var appModel = context.ServiceProvider.GetRequiredService{DistributedApplicationModel}();
793-
/// var postgresInstances = appModel.Resources.OfType{PostgresDatabaseResource}();
792+
/// var appModel = context.ServiceProvider.GetRequiredService&lt;DistributedApplicationModel&gt;();
793+
/// var postgresInstances = appModel.Resources.OfType&lt;PostgresDatabaseResource&gt;();
794794
///
795795
/// return [
796796
/// new ContainerDirectory

0 commit comments

Comments
 (0)