-
Notifications
You must be signed in to change notification settings - Fork 1
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
7dcca16
commit 4359b6b
Showing
3 changed files
with
14 additions
and
16 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,24 +1,8 @@ | ||
namespace SC_Interfaces; | ||
public interface IRunWatcherDetect | ||
{ | ||
public string Folder { get; set; } | ||
public Task<IRunWatcher[]> DetectVersions(); | ||
} | ||
|
||
public interface IRunWatcher | ||
{ | ||
public int Version { get; } | ||
public Task<int> Run(string[] args); | ||
|
||
} | ||
|
||
public interface IRunWatcherV1: IRunWatcher | ||
{ | ||
public int DelaySeconds { get; set; } | ||
|
||
} | ||
|
||
public interface IRunWatcherFile | ||
{ | ||
public Version DetectFile(); | ||
} |
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,7 @@ | ||
namespace SC_Interfaces; | ||
|
||
public interface IRunWatcherDetect | ||
{ | ||
public string Folder { get; set; } | ||
public Task<IRunWatcher[]> DetectVersions(); | ||
} |
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,7 @@ | ||
namespace SC_Interfaces; | ||
|
||
public interface IRunWatcherV1: IRunWatcher | ||
{ | ||
public int DelaySeconds { get; set; } | ||
|
||
} |