Skip to content

Commit e7b79ac

Browse files
committed
Reordered parameters to top of TestRenderer
1 parent 9d63a0d commit e7b79ac

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/Rendering/TestRenderer.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ public class TestRenderer : Renderer
2929
/// </summary>
3030
public StructAction<RenderBatch>? OnRenderingHasComponentUpdates { get; set; }
3131

32+
/// <inheritdoc/>
33+
public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
34+
35+
/// <summary>
36+
/// Gets a task that completes after the next render.
37+
/// </summary>
38+
public Task NextRender => _nextRenderTcs.Task;
39+
3240
/// <inheritdoc/>
3341
public TestRenderer(IServiceProvider serviceProvider, ILoggerFactory loggerFactory)
3442
: base(serviceProvider, loggerFactory)
@@ -62,14 +70,6 @@ public int AttachTestRootComponent(IComponent testRootComponent)
6270
return task;
6371
}
6472

65-
/// <inheritdoc/>
66-
public override Dispatcher Dispatcher { get; } = Dispatcher.CreateDefault();
67-
68-
/// <summary>
69-
/// Gets a task that completes after the next render.
70-
/// </summary>
71-
public Task NextRender => _nextRenderTcs.Task;
72-
7373
/// <inheritdoc/>
7474
protected override void HandleException(Exception exception)
7575
{

0 commit comments

Comments
 (0)