@@ -349,7 +349,7 @@ public partial interface IInteractionService
349
349
System . Threading . Tasks . Task < InteractionResult < bool > > PromptConfirmationAsync ( string title , string message , MessageBoxInteractionOptions ? options = null , System . Threading . CancellationToken cancellationToken = default ) ;
350
350
System . Threading . Tasks . Task < InteractionResult < InteractionInput > > PromptInputAsync ( string title , string ? message , InteractionInput input , InputsDialogInteractionOptions ? options = null , System . Threading . CancellationToken cancellationToken = default ) ;
351
351
System . Threading . Tasks . Task < InteractionResult < InteractionInput > > PromptInputAsync ( string title , string ? message , string inputLabel , string placeHolder , InputsDialogInteractionOptions ? options = null , System . Threading . CancellationToken cancellationToken = default ) ;
352
- System . Threading . Tasks . Task < InteractionResult < System . Collections . Generic . IReadOnlyList < InteractionInput > > > PromptInputsAsync ( string title , string ? message , System . Collections . Generic . IReadOnlyList < InteractionInput > inputs , InputsDialogInteractionOptions ? options = null , System . Threading . CancellationToken cancellationToken = default ) ;
352
+ System . Threading . Tasks . Task < InteractionResult < InteractionInputCollection > > PromptInputsAsync ( string title , string ? message , System . Collections . Generic . IReadOnlyList < InteractionInput > inputs , InputsDialogInteractionOptions ? options = null , System . Threading . CancellationToken cancellationToken = default ) ;
353
353
System . Threading . Tasks . Task < InteractionResult < bool > > PromptMessageBoxAsync ( string title , string message , MessageBoxInteractionOptions ? options = null , System . Threading . CancellationToken cancellationToken = default ) ;
354
354
System . Threading . Tasks . Task < InteractionResult < bool > > PromptNotificationAsync ( string title , string message , NotificationInteractionOptions ? options = null , System . Threading . CancellationToken cancellationToken = default ) ;
355
355
}
@@ -364,7 +364,7 @@ public sealed partial class InputsDialogValidationContext
364
364
{
365
365
public required System . Threading . CancellationToken CancellationToken { get { throw null ; } init { } }
366
366
367
- public required System . Collections . Generic . IReadOnlyList < InteractionInput > Inputs { get { throw null ; } init { } }
367
+ public required InteractionInputCollection Inputs { get { throw null ; } init { } }
368
368
369
369
public required System . IServiceProvider ServiceProvider { get { throw null ; } init { } }
370
370
@@ -381,6 +381,28 @@ public enum InputType
381
381
Number = 4
382
382
}
383
383
384
+ [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREINTERACTION001" , UrlFormat = "https://aka.ms/aspire/diagnostics/{0}" ) ]
385
+ public sealed partial class InteractionInputCollection : System . Collections . Generic . IReadOnlyList < InteractionInput > , System . Collections . Generic . IEnumerable < InteractionInput > , System . Collections . IEnumerable
386
+ {
387
+ public InteractionInputCollection ( System . Collections . Generic . IReadOnlyList < InteractionInput > inputs ) { }
388
+
389
+ public int Count { get { throw null ; } }
390
+
391
+ public System . Collections . Generic . IEnumerable < string > Names { get { throw null ; } }
392
+
393
+ public InteractionInput this [ int index ] { get { throw null ; } }
394
+
395
+ public InteractionInput this [ string name ] { get { throw null ; } }
396
+
397
+ public bool ContainsName ( string name ) { throw null ; }
398
+
399
+ public System . Collections . Generic . IEnumerator < InteractionInput > GetEnumerator ( ) { throw null ; }
400
+
401
+ System . Collections . IEnumerator System . Collections . IEnumerable . GetEnumerator ( ) { throw null ; }
402
+
403
+ public bool TryGetByName ( string name , out InteractionInput ? input ) { throw null ; }
404
+ }
405
+
384
406
[ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREINTERACTION001" , UrlFormat = "https://aka.ms/aspire/diagnostics/{0}" ) ]
385
407
public sealed partial class InteractionInput
386
408
{
@@ -394,6 +416,8 @@ public sealed partial class InteractionInput
394
416
395
417
public int ? MaxLength { get { throw null ; } set { } }
396
418
419
+ public string ? Name { get { throw null ; } init { } }
420
+
397
421
public System . Collections . Generic . IReadOnlyList < System . Collections . Generic . KeyValuePair < string , string > > ? Options { get { throw null ; } init { } }
398
422
399
423
public string ? Placeholder { get { throw null ; } set { } }
0 commit comments