8 references to ListAsync
aspire (1)
Commands\TemplateManagementCommand.cs (1)
100sources = await _store.ListAsync(source, cancellationToken);
Aspire.Cli.Tests (7)
Commands\NewCommandLocalTemplateTests.InitConfig.cs (1)
143var listed = await store.ListAsync(new ConfigSource
Commands\NewCommandLocalTemplateTests.SourceManagement.cs (5)
79var source = Assert.Single(await provider.GetRequiredService<TemplateSourceStore>().ListAsync(null, default)); 115Assert.Equal("company", Assert.Single(await provider.GetRequiredService<TemplateSourceStore>().ListAsync(null, default)).Key); 156Assert.Equal("company", Assert.Single(await provider.GetRequiredService<TemplateSourceStore>().ListAsync(null, default)).Key); 361Assert.Equal("Company", Assert.Single(await provider.GetRequiredService<TemplateSourceStore>().ListAsync(null, default)).Key); 426(await provider.GetRequiredService<TemplateSourceStore>().ListAsync(null, default))["company"]![displayNameField]!.GetValue<string>());
Commands\TemplateSourceStartupTests.cs (1)
205"list" => store.ListAsync(null, CancellationToken.None),