aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/Services/IParseCommandLine.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-12-02 00:45:33 -0800
committerRob Mensching <rob@firegiant.com>2017-12-02 00:45:33 -0800
commitfb2df0e24c0709ce94c396624cf86c70e02da01f (patch)
treee0a16a342dca4f9b343afa945d89116856950b83 /src/WixToolset.Extensibility/Services/IParseCommandLine.cs
parent404f34f00ecce034a8a06fe4757789c6ce62f3f6 (diff)
downloadwix-fb2df0e24c0709ce94c396624cf86c70e02da01f.tar.gz
wix-fb2df0e24c0709ce94c396624cf86c70e02da01f.tar.bz2
wix-fb2df0e24c0709ce94c396624cf86c70e02da01f.zip
Fix IExtensionCommandLine and IPreprocessorExtension
Diffstat (limited to 'src/WixToolset.Extensibility/Services/IParseCommandLine.cs')
-rw-r--r--src/WixToolset.Extensibility/Services/IParseCommandLine.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/Services/IParseCommandLine.cs b/src/WixToolset.Extensibility/Services/IParseCommandLine.cs
new file mode 100644
index 00000000..1b23be14
--- /dev/null
+++ b/src/WixToolset.Extensibility/Services/IParseCommandLine.cs
@@ -0,0 +1,21 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Extensibility.Services
4{
5 using System.Collections.Generic;
6
7 public interface IParseCommandLine
8 {
9 bool IsSwitch(string arg);
10
11 bool IsSwitchAt(IEnumerable<string> args, int index);
12
13 void GetNextArgumentOrError(ref string arg);
14
15 void GetNextArgumentOrError(IList<string> args);
16
17 void GetNextArgumentAsFilePathOrError(IList<string> args, string fileType);
18
19 bool TryGetNextArgumentOrError(out string arg);
20 }
21}