@@ -82,6 +82,16 @@ public DataTransfer() { }
82
82
public Microsoft . AspNetCore . Components . UIDataTransferItem [ ] Items { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
83
83
public string [ ] Types { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
84
84
}
85
+ public abstract partial class Dispatcher
86
+ {
87
+ protected Dispatcher ( ) { }
88
+ public abstract event System . UnhandledExceptionEventHandler UnhandledException ;
89
+ public abstract bool CheckAccess ( ) ;
90
+ public abstract System . Threading . Tasks . Task InvokeAsync ( System . Action workItem ) ;
91
+ public abstract System . Threading . Tasks . Task InvokeAsync ( System . Func < System . Threading . Tasks . Task > workItem ) ;
92
+ public abstract System . Threading . Tasks . Task < TResult > InvokeAsync < TResult > ( System . Func < System . Threading . Tasks . Task < TResult > > workItem ) ;
93
+ public abstract System . Threading . Tasks . Task < TResult > InvokeAsync < TResult > ( System . Func < TResult > workItem ) ;
94
+ }
85
95
[ System . Runtime . InteropServices . StructLayoutAttribute ( System . Runtime . InteropServices . LayoutKind . Sequential ) ]
86
96
public readonly partial struct ElementRef
87
97
{
@@ -295,13 +305,6 @@ public partial interface IComponentContext
295
305
{
296
306
bool IsConnected { get ; }
297
307
}
298
- public partial interface IDispatcher
299
- {
300
- System . Threading . Tasks . Task InvokeAsync ( System . Action workItem ) ;
301
- System . Threading . Tasks . Task InvokeAsync ( System . Func < System . Threading . Tasks . Task > workItem ) ;
302
- System . Threading . Tasks . Task < TResult > InvokeAsync < TResult > ( System . Func < System . Threading . Tasks . Task < TResult > > workItem ) ;
303
- System . Threading . Tasks . Task < TResult > InvokeAsync < TResult > ( System . Func < TResult > workItem ) ;
304
- }
305
308
public partial interface IHandleAfterRender
306
309
{
307
310
System . Threading . Tasks . Task OnAfterRenderAsync ( ) ;
@@ -386,9 +389,8 @@ public readonly partial struct RenderHandle
386
389
{
387
390
private readonly object _dummy ;
388
391
private readonly int _dummyPrimitive ;
392
+ public Microsoft . AspNetCore . Components . Dispatcher Dispatcher { get { throw null ; } }
389
393
public bool IsInitialized { get { throw null ; } }
390
- public System . Threading . Tasks . Task InvokeAsync ( System . Action workItem ) { throw null ; }
391
- public System . Threading . Tasks . Task InvokeAsync ( System . Func < System . Threading . Tasks . Task > workItem ) { throw null ; }
392
394
public void Render ( Microsoft . AspNetCore . Components . RenderFragment renderFragment ) { }
393
395
}
394
396
[ System . AttributeUsageAttribute ( System . AttributeTargets . Class , AllowMultiple = true , Inherited = false ) ]
@@ -649,7 +651,7 @@ public EventFieldInfo() { }
649
651
}
650
652
public partial class HtmlRenderer : Microsoft . AspNetCore . Components . Rendering . Renderer
651
653
{
652
- public HtmlRenderer ( System . IServiceProvider serviceProvider , Microsoft . Extensions . Logging . ILoggerFactory loggerFactory , Microsoft . AspNetCore . Components . IDispatcher dispatcher , System . Func < string , string > htmlEncoder ) : base ( default ( System . IServiceProvider ) , default ( Microsoft . Extensions . Logging . ILoggerFactory ) ) { }
654
+ public HtmlRenderer ( System . IServiceProvider serviceProvider , Microsoft . Extensions . Logging . ILoggerFactory loggerFactory , Microsoft . AspNetCore . Components . Dispatcher dispatcher , System . Func < string , string > htmlEncoder ) : base ( default ( System . IServiceProvider ) , default ( Microsoft . Extensions . Logging . ILoggerFactory ) ) { }
653
655
protected override void HandleException ( System . Exception exception ) { }
654
656
[ System . Diagnostics . DebuggerStepThroughAttribute ]
655
657
public System . Threading . Tasks . Task < Microsoft . AspNetCore . Components . Rendering . ComponentRenderedText > RenderComponentAsync ( System . Type componentType , Microsoft . AspNetCore . Components . ParameterCollection initialParameters ) { throw null ; }
@@ -668,18 +670,17 @@ public readonly partial struct RenderBatch
668
670
public abstract partial class Renderer : System . IDisposable
669
671
{
670
672
public Renderer ( System . IServiceProvider serviceProvider , Microsoft . Extensions . Logging . ILoggerFactory loggerFactory ) { }
671
- public Renderer ( System . IServiceProvider serviceProvider , Microsoft . Extensions . Logging . ILoggerFactory loggerFactory , Microsoft . AspNetCore . Components . IDispatcher dispatcher ) { }
673
+ public Renderer ( System . IServiceProvider serviceProvider , Microsoft . Extensions . Logging . ILoggerFactory loggerFactory , Microsoft . AspNetCore . Components . Dispatcher dispatcher ) { }
674
+ public Microsoft . AspNetCore . Components . Dispatcher Dispatcher { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
672
675
public event System . UnhandledExceptionEventHandler UnhandledSynchronizationException { add { } remove { } }
673
676
protected internal virtual void AddToRenderQueue ( int componentId , Microsoft . AspNetCore . Components . RenderFragment renderFragment ) { }
674
677
protected internal int AssignRootComponentId ( Microsoft . AspNetCore . Components . IComponent component ) { throw null ; }
675
- public static Microsoft . AspNetCore . Components . IDispatcher CreateDefaultDispatcher ( ) { throw null ; }
678
+ public static Microsoft . AspNetCore . Components . Dispatcher CreateDefaultDispatcher ( ) { throw null ; }
676
679
public virtual System . Threading . Tasks . Task DispatchEventAsync ( int eventHandlerId , Microsoft . AspNetCore . Components . Rendering . EventFieldInfo fieldInfo , Microsoft . AspNetCore . Components . UIEventArgs eventArgs ) { throw null ; }
677
680
public void Dispose ( ) { }
678
681
protected virtual void Dispose ( bool disposing ) { }
679
682
protected abstract void HandleException ( System . Exception exception ) ;
680
683
protected Microsoft . AspNetCore . Components . IComponent InstantiateComponent ( System . Type componentType ) { throw null ; }
681
- public virtual System . Threading . Tasks . Task InvokeAsync ( System . Action workItem ) { throw null ; }
682
- public virtual System . Threading . Tasks . Task InvokeAsync ( System . Func < System . Threading . Tasks . Task > workItem ) { throw null ; }
683
684
protected System . Threading . Tasks . Task RenderRootComponentAsync ( int componentId ) { throw null ; }
684
685
[ System . Diagnostics . DebuggerStepThroughAttribute ]
685
686
protected System . Threading . Tasks . Task RenderRootComponentAsync ( int componentId , Microsoft . AspNetCore . Components . ParameterCollection initialParameters ) { throw null ; }
0 commit comments