154 references to CreateServices
Aspire.Cli.Tests (154)
Commands\NewCommandLocalTemplateTests.ConfiguredGitSourceObjects.cs (8)
35
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
53
var services =
CreateServices
(workspace, interaction, interactive: true);
100
var services =
CreateServices
(workspace, interaction, interactive: true);
137
var services =
CreateServices
(workspace, interaction, interactive: true);
183
var services =
CreateServices
(workspace, interaction, interactive: true);
229
var services =
CreateServices
(workspace, interaction, interactive: true);
280
var services =
CreateServices
(workspace, interaction, interactive: true);
354
var services =
CreateServices
(workspace, interaction, interactive: true);
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (13)
55
var services =
CreateServices
(workspace, interaction, interactive: true);
108
var services =
CreateServices
(workspace, interaction, interactive: true);
140
var services =
CreateServices
(workspace, interaction, interactive: true);
173
var services =
CreateServices
(workspace, interaction, interactive: true);
216
var services =
CreateServices
(workspace, interaction, interactive: true);
260
var services =
CreateServices
(workspace, interaction, interactive: true);
329
var services =
CreateServices
(workspace, interaction, interactive: true);
397
var services =
CreateServices
(workspace, interaction, interactive: true);
442
var services =
CreateServices
(workspace, interaction, interactive: false);
482
var services =
CreateServices
(workspace, interaction, interactive: true);
518
var services =
CreateServices
(workspace, interaction, interactive: true);
560
var services =
CreateServices
(workspace, interaction, interactive: true);
624
var services =
CreateServices
(workspace, interaction, interactive: true);
Commands\NewCommandLocalTemplateTests.ConfiguredSources.cs (23)
39
var services =
CreateServices
(workspace, interaction, interactive: true);
61
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
76
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
93
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
157
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
185
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
203
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
216
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
239
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
263
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
284
var services =
CreateServices
(workspace, interaction, interactive: true);
322
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
353
var services =
CreateServices
(workspace, interaction, interactive: true);
400
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
426
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
463
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
485
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
530
var services =
CreateServices
(workspace, interaction, interactive: true);
548
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
580
var services =
CreateServices
(workspace, interaction, interactive: true);
603
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
633
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
649
using var provider =
CreateServices
(workspace, new TestInteractionService(), interactive: true).BuildServiceProvider();
Commands\NewCommandLocalTemplateTests.cs (55)
51
using var provider =
CreateServices
(workspace, interaction, interactive).BuildServiceProvider();
112
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
158
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
190
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
202
using var nonInteractiveProvider =
CreateServices
(workspace, nonInteractive, interactive: false).BuildServiceProvider();
232
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
284
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
311
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
345
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
368
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
422
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
464
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
486
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
524
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
561
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
611
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
629
var services =
CreateServices
(workspace, interaction, interactive: false);
664
var services =
CreateServices
(workspace, interaction, interactive: false);
727
var services =
CreateServices
(workspace, interaction, interactive);
764
var services =
CreateServices
(workspace, interaction, interactive);
802
var services =
CreateServices
(workspace, interaction, interactive);
851
var services =
CreateServices
(workspace, interaction, interactive: false);
935
var services =
CreateServices
(workspace, interaction, interactive: false);
985
var services =
CreateServices
(workspace, interaction, interactive: false);
1034
var services =
CreateServices
(workspace, interaction, interactive: false);
1063
var services =
CreateServices
(workspace, interaction, interactive: false);
1109
var services =
CreateServices
(workspace, interaction, interactive: false);
1142
var services =
CreateServices
(workspace, interaction, interactive: false);
1176
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
1192
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
1224
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
1243
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
1260
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
1279
var services =
CreateServices
(workspace, interaction, interactive);
1312
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
1329
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
1345
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
1366
var services =
CreateServices
(workspace, interaction, interactive: false);
1396
var services =
CreateServices
(workspace, interaction, interactive: false);
1467
var services =
CreateServices
(workspace, interaction, interactive);
1500
var services =
CreateServices
(workspace, interaction, interactive: false);
1534
var services =
CreateServices
(workspace, interaction, interactive: false);
1575
var services =
CreateServices
(workspace, interaction, interactive: false);
1607
var services =
CreateServices
(workspace, interaction, interactive: false);
1639
var services =
CreateServices
(workspace, interaction, interactive: false);
1739
var services =
CreateServices
(workspace, interaction, interactive: false);
1781
var services =
CreateServices
(workspace, interaction, interactive: false);
1829
var firstServices =
CreateServices
(workspace, new TestInteractionService(), interactive: false);
1832
var secondServices =
CreateServices
(workspace, new TestInteractionService(), interactive: false);
1871
var services =
CreateServices
(workspace, new TestInteractionService(), interactive: false);
1900
var services =
CreateServices
(workspace, interaction, interactive: false);
1920
var services =
CreateServices
(workspace, interaction, interactive: false);
1941
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
1958
using var provider =
CreateServices
(workspace, new TestInteractionService(), interactive: false).BuildServiceProvider();
1972
var services =
CreateServices
(workspace, interaction, interactive: false);
Commands\NewCommandLocalTemplateTests.HostConfiguration.cs (10)
64
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
103
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
160
using var provider =
CreateServices
(workspace, interaction, interactive).BuildServiceProvider();
193
using var provider =
CreateServices
(workspace, interaction, interactive).BuildServiceProvider();
226
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
246
var services =
CreateServices
(workspace, interaction, interactive: true);
274
var services =
CreateServices
(workspace, interaction, interactive: true);
316
var services =
CreateServices
(workspace, interaction, interactive: false);
361
var services =
CreateServices
(workspace, interaction, interactive: false);
426
var services =
CreateServices
(workspace, interaction, interactive: true);
Commands\NewCommandLocalTemplateTests.InitConfig.cs (1)
306
var services =
CreateServices
(workspace, interaction, interactive);
Commands\NewCommandLocalTemplateTests.NuGetValues.cs (13)
51
var services =
CreateServices
(workspace, interaction, interactive);
117
var services =
CreateServices
(workspace, interaction, interactive: false);
157
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
180
var services =
CreateServices
(workspace, interaction, interactive: false);
220
var services =
CreateServices
(workspace, interaction, interactive: false);
247
var services =
CreateServices
(workspace, interaction, interactive: false);
281
using var provider =
CreateServices
(workspace, interaction, interactive).BuildServiceProvider();
317
var services =
CreateServices
(workspace, interaction, interactive);
359
var services =
CreateServices
(workspace, interaction, interactive: false);
401
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
420
var services =
CreateServices
(workspace, new TestInteractionService(), interactive: false);
449
var services =
CreateServices
(workspace, interaction, interactive: false);
498
var services =
CreateServices
(workspace, interaction, interactive: false);
Commands\NewCommandLocalTemplateTests.PromptDefaults.cs (6)
26
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
59
using var provider =
CreateServices
(workspace, interaction, interactive).BuildServiceProvider();
85
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
215
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
241
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
267
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
Commands\NewCommandLocalTemplateTests.SourceList.cs (9)
44
var services =
CreateServices
(workspace, interaction, interactive: true);
95
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
120
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
140
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
159
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
176
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
341
var services =
CreateServices
(workspace, interaction, interactive: true);
408
var services =
CreateServices
(workspace, interaction, interactive: true);
473
using var provider =
CreateServices
(workspace, new TestInteractionService(), interactive: true).BuildServiceProvider();
Commands\NewCommandLocalTemplateTests.SourceListGit.cs (1)
290
var services =
CreateServices
(workspace, interaction, interactive: true);
Commands\NewCommandLocalTemplateTests.SourceManagement.cs (15)
29
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
59
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
103
using var provider =
CreateServices
(workspace, interaction, interactive).BuildServiceProvider();
125
using var provider =
CreateServices
(workspace, interaction, interactive: false).BuildServiceProvider();
176
using var provider =
CreateServices
(workspace, new TestInteractionService(), interactive: true).BuildServiceProvider();
215
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
263
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
281
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
303
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
325
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
343
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
377
using var provider =
CreateServices
(workspace, new TestInteractionService(), interactive: true).BuildServiceProvider();
439
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
458
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();
479
using var provider =
CreateServices
(workspace, interaction, interactive: true).BuildServiceProvider();