-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
9a635cd
commit a757e04
Showing
3 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
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,9 +1,11 @@ | ||
namespace Doki.Output; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Doki.Output; | ||
|
||
/// <summary> | ||
/// Default output options. | ||
/// </summary> | ||
public sealed record DefaultOutputOptions<T> : IOutputOptions<T> where T : IOutput | ||
{ | ||
public DirectoryInfo OutputDirectory { get; init; } = null!; | ||
[JsonPropertyName("outputPath")] public DirectoryInfo OutputDirectory { get; init; } = null!; | ||
} |
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,8 +1,7 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Doki.Output; | ||
namespace Doki.Output; | ||
|
||
// ReSharper disable once UnusedTypeParameter | ||
public interface IOutputOptions<T> where T : IOutput | ||
{ | ||
[JsonPropertyName("outputPath")] DirectoryInfo OutputDirectory { get; } | ||
DirectoryInfo OutputDirectory { get; } | ||
} |
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