diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/WixToolset.Extensibility/Services/ICommandLineParser.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/WixToolset.Extensibility/Services/ICommandLineParser.cs b/src/WixToolset.Extensibility/Services/ICommandLineParser.cs index f538e0b7..cd17f100 100644 --- a/src/WixToolset.Extensibility/Services/ICommandLineParser.cs +++ b/src/WixToolset.Extensibility/Services/ICommandLineParser.cs | |||
| @@ -3,11 +3,12 @@ | |||
| 3 | namespace WixToolset.Extensibility.Services | 3 | namespace WixToolset.Extensibility.Services |
| 4 | { | 4 | { |
| 5 | using System.Collections.Generic; | 5 | using System.Collections.Generic; |
| 6 | using WixToolset.Data; | ||
| 6 | 7 | ||
| 7 | #pragma warning disable 1591 // TODO: add documentation | 8 | #pragma warning disable 1591 // TODO: add documentation |
| 8 | public interface ICommandLineParser | 9 | public interface ICommandLineParser |
| 9 | { | 10 | { |
| 10 | string ErrorArgument { get; set; } | 11 | string ErrorArgument { get; } |
| 11 | 12 | ||
| 12 | /// <summary> | 13 | /// <summary> |
| 13 | /// Validates that a valid switch (starts with "/" or "-"), and returns a bool indicating its validity | 14 | /// Validates that a valid switch (starts with "/" or "-"), and returns a bool indicating its validity |
| @@ -32,6 +33,8 @@ namespace WixToolset.Extensibility.Services | |||
| 32 | 33 | ||
| 33 | bool GetNextArgumentAsFilePathOrError(string commandLineSwitch, string fileType, IList<string> paths); | 34 | bool GetNextArgumentAsFilePathOrError(string commandLineSwitch, string fileType, IList<string> paths); |
| 34 | 35 | ||
| 36 | void ReportErrorArgument(string argument, Message message = null); | ||
| 37 | |||
| 35 | bool TryGetNextSwitchOrArgument(out string arg); | 38 | bool TryGetNextSwitchOrArgument(out string arg); |
| 36 | } | 39 | } |
| 37 | } | 40 | } |
