Skip to content

Commit

Permalink
Extracted Dispatcher into DtronixCommon project.
Browse files Browse the repository at this point in the history
Updated all Dispatcher references to the new methods.
  • Loading branch information
DJGosnell committed Mar 15, 2022
1 parent d441d60 commit 49da614
Show file tree
Hide file tree
Showing 19 changed files with 35 additions and 616 deletions.
94 changes: 0 additions & 94 deletions src/DtronixPdf.Tests/Dispatcher/ThreadDispatcherTests.cs

This file was deleted.

8 changes: 5 additions & 3 deletions src/DtronixPdf/Actions/RenderPageAction.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Threading;
using DtronixPdf.Dispatcher;
using DtronixPdf.Dispatcher.Actions;
using DtronixCommon.Threading.Dispatcher;
using DtronixCommon.Threading.Dispatcher.Actions;
using PDFiumCore;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
Expand All @@ -23,7 +23,9 @@ public RenderPageAction(ThreadDispatcher dispatcher,
float scale,
RectangleF viewport,
RenderFlags flags,
Color? backgroundColor)
Color? backgroundColor,
CancellationToken cancellationToken)
: base(cancellationToken)
{
_pageInstance = pageInstance;
_scale = scale;
Expand Down
31 changes: 0 additions & 31 deletions src/DtronixPdf/Dispatcher/Actions/MessagePumpAction.cs

This file was deleted.

18 changes: 0 additions & 18 deletions src/DtronixPdf/Dispatcher/Actions/MessagePumpActionBase.cs

This file was deleted.

30 changes: 0 additions & 30 deletions src/DtronixPdf/Dispatcher/Actions/MessagePumpActionResult.cs

This file was deleted.

20 changes: 0 additions & 20 deletions src/DtronixPdf/Dispatcher/Actions/MessagePumpActionVoid.cs

This file was deleted.

32 changes: 0 additions & 32 deletions src/DtronixPdf/Dispatcher/Actions/SimpleMessagePumpAction.cs

This file was deleted.

28 changes: 0 additions & 28 deletions src/DtronixPdf/Dispatcher/Actions/SimpleMessagePumpActionResult.cs

This file was deleted.

33 changes: 0 additions & 33 deletions src/DtronixPdf/Dispatcher/Actions/SimpleMessagePumpTask.cs

This file was deleted.

9 changes: 0 additions & 9 deletions src/DtronixPdf/Dispatcher/DispatcherPriority.cs

This file was deleted.

Loading

0 comments on commit 49da614

Please sign in to comment.