diff options
author | Rob Mensching <rob@firegiant.com> | 2017-12-01 01:09:42 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2017-12-01 01:09:42 -0800 |
commit | 720c4a0db1a2fb2aa3e08e5c99d5198873e448ba (patch) | |
tree | 6794b760149c2f9ff0e01fadc9f2faae5f2c6553 /src/test/Example.Extension/ExamplePreprocessorExtension.cs | |
parent | 5ee1645db44908f67eee90da9cd0197c60711eae (diff) | |
download | wix-720c4a0db1a2fb2aa3e08e5c99d5198873e448ba.tar.gz wix-720c4a0db1a2fb2aa3e08e5c99d5198873e448ba.tar.bz2 wix-720c4a0db1a2fb2aa3e08e5c99d5198873e448ba.zip |
Introduce ExampleExtension for testing
Diffstat (limited to 'src/test/Example.Extension/ExamplePreprocessorExtension.cs')
-rw-r--r-- | src/test/Example.Extension/ExamplePreprocessorExtension.cs | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/test/Example.Extension/ExamplePreprocessorExtension.cs b/src/test/Example.Extension/ExamplePreprocessorExtension.cs new file mode 100644 index 00000000..c16c8b5a --- /dev/null +++ b/src/test/Example.Extension/ExamplePreprocessorExtension.cs | |||
@@ -0,0 +1,55 @@ | |||
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 | |||
3 | namespace Example.Extension | ||
4 | { | ||
5 | using System; | ||
6 | using System.Xml.Linq; | ||
7 | using WixToolset.Data; | ||
8 | using WixToolset.Extensibility; | ||
9 | |||
10 | internal class ExamplePreprocessorExtension : IPreprocessorExtension | ||
11 | { | ||
12 | public ExamplePreprocessorExtension() | ||
13 | { | ||
14 | } | ||
15 | |||
16 | public IPreprocessorCore Core { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } | ||
17 | |||
18 | public string[] Prefixes => throw new NotImplementedException(); | ||
19 | |||
20 | public string EvaluateFunction(string prefix, string function, string[] args) | ||
21 | { | ||
22 | throw new NotImplementedException(); | ||
23 | } | ||
24 | |||
25 | public void Finish() | ||
26 | { | ||
27 | throw new NotImplementedException(); | ||
28 | } | ||
29 | |||
30 | public string GetVariableValue(string prefix, string name) | ||
31 | { | ||
32 | throw new NotImplementedException(); | ||
33 | } | ||
34 | |||
35 | public void Initialize() | ||
36 | { | ||
37 | throw new NotImplementedException(); | ||
38 | } | ||
39 | |||
40 | public void PreprocessDocument(XDocument document) | ||
41 | { | ||
42 | throw new NotImplementedException(); | ||
43 | } | ||
44 | |||
45 | public string PreprocessParameter(string name) | ||
46 | { | ||
47 | throw new NotImplementedException(); | ||
48 | } | ||
49 | |||
50 | public bool ProcessPragma(SourceLineNumber sourceLineNumbers, string prefix, string pragma, string args, XContainer parent) | ||
51 | { | ||
52 | throw new NotImplementedException(); | ||
53 | } | ||
54 | } | ||
55 | } \ No newline at end of file | ||