-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
383 additions
and
170 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...CurvaLauncher.Common/IAsyncQueryResult.cs → ...auncher.Common/IAsyncActionQueryResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
namespace CurvaLauncher; | ||
|
||
public interface IAsyncQueryResult : IQueryResult | ||
public interface IAsyncActionQueryResult : IQueryResult | ||
{ | ||
public Task InvokeAsync(CancellationToken cancellationToken); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using System.Windows.Documents; | ||
|
||
namespace CurvaLauncher; | ||
|
||
public interface IAsyncDocumentQueryResult : IQueryResult | ||
{ | ||
public Task<FlowDocument> GenerateDocumentAsync(CancellationToken cancellationToken); | ||
} |
2 changes: 1 addition & 1 deletion
2
src/CurvaLauncher.Common/ISyncQueryResult.cs → ...Launcher.Common/ISyncActionQueryResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
namespace CurvaLauncher; | ||
|
||
public interface ISyncQueryResult : IQueryResult | ||
public interface ISyncActionQueryResult : IQueryResult | ||
{ | ||
public void Invoke(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using System.Windows.Documents; | ||
|
||
namespace CurvaLauncher; | ||
|
||
public interface ISyncDocumentQueryResult : IQueryResult | ||
{ | ||
public FlowDocument GenerateDocument(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/CurvaLauncher/Models/ImmediateResults/DocumentResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Windows.Documents; | ||
|
||
namespace CurvaLauncher.Models.ImmediateResults | ||
{ | ||
public class DocumentResult : ImmediateResult | ||
{ | ||
public FlowDocument Document { get; } | ||
|
||
public DocumentResult(FlowDocument document) | ||
{ | ||
Document = document; | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/CurvaLauncher/Models/ImmediateResults/ImmediateResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace CurvaLauncher.Models.ImmediateResults | ||
{ | ||
public abstract class ImmediateResult | ||
{ | ||
|
||
} | ||
} |
Oops, something went wrong.