32 writes to AddCommandPrompterFactory
Aspire.Cli.Tests (32)
Commands\AddCommandTests.cs (32)
109
options.
AddCommandPrompterFactory
= provider => new AddCommandPrompter(provider.GetRequiredService<IInteractionService>(), provider.GetRequiredService<CliExecutionContext>());
368
options.
AddCommandPrompterFactory
= provider => new AddCommandPrompter(provider.GetRequiredService<IInteractionService>(), provider.GetRequiredService<CliExecutionContext>());
561
options.
AddCommandPrompterFactory
= sp => new TestAddCommandPrompter(sp.GetRequiredService<IInteractionService>(), sp.GetRequiredService<CliExecutionContext>())
1380
options.
AddCommandPrompterFactory
= (sp) =>
2277
options.
AddCommandPrompterFactory
= (sp) =>
2360
options.
AddCommandPrompterFactory
= (sp) =>
2437
options.
AddCommandPrompterFactory
= (sp) =>
2521
options.
AddCommandPrompterFactory
= (sp) =>
2601
options.
AddCommandPrompterFactory
= (sp) =>
2756
options.
AddCommandPrompterFactory
= (sp) =>
2844
options.
AddCommandPrompterFactory
= (sp) =>
2910
options.
AddCommandPrompterFactory
= (sp) =>
2983
options.
AddCommandPrompterFactory
= (sp) =>
3061
options.
AddCommandPrompterFactory
= (sp) =>
3130
options.
AddCommandPrompterFactory
= (sp) =>
3202
options.
AddCommandPrompterFactory
= (sp) =>
3279
options.
AddCommandPrompterFactory
= (sp) =>
3375
options.
AddCommandPrompterFactory
= (sp) =>
3517
options.
AddCommandPrompterFactory
= (sp) =>
3980
options.
AddCommandPrompterFactory
= sp =>
4060
options.
AddCommandPrompterFactory
= provider => new AddCommandPrompter(provider.GetRequiredService<IInteractionService>(), provider.GetRequiredService<CliExecutionContext>());
4482
options.
AddCommandPrompterFactory
= (sp) =>
4551
options.
AddCommandPrompterFactory
= (sp) =>
5309
options.
AddCommandPrompterFactory
= (sp) =>
5514
options.
AddCommandPrompterFactory
= (sp) =>
5583
options.
AddCommandPrompterFactory
= (sp) =>
5748
options.
AddCommandPrompterFactory
= (sp) =>
5836
options.
AddCommandPrompterFactory
= (sp) =>
5920
options.
AddCommandPrompterFactory
= (sp) =>
6008
options.
AddCommandPrompterFactory
= (sp) =>
6096
options.
AddCommandPrompterFactory
= (sp) =>
6174
options.
AddCommandPrompterFactory
= (sp) =>
1 reference to AddCommandPrompterFactory
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
157
services.AddSingleton(options.
AddCommandPrompterFactory
);