diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-03-27 13:54:56 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-03-30 21:30:04 +1000 |
commit | 0baf6e26ec7ab2ff0b6ad36e9d44f3d68819b5d6 (patch) | |
tree | 1ef577d0246b662f4a8bda0ed935e987f03562a0 /src/test/Example.Extension/ExampleExtensionData.cs | |
parent | afbc6889c73d58136cb8851858ca3c17f41dc2c5 (diff) | |
download | wix-0baf6e26ec7ab2ff0b6ad36e9d44f3d68819b5d6.tar.gz wix-0baf6e26ec7ab2ff0b6ad36e9d44f3d68819b5d6.tar.bz2 wix-0baf6e26ec7ab2ff0b6ad36e9d44f3d68819b5d6.zip |
Add ability for extensions to create custom bundle searches.
This required creating BundleExtensionData.xml.
Diffstat (limited to 'src/test/Example.Extension/ExampleExtensionData.cs')
-rw-r--r-- | src/test/Example.Extension/ExampleExtensionData.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/Example.Extension/ExampleExtensionData.cs b/src/test/Example.Extension/ExampleExtensionData.cs index de0b8899..b38eb2a2 100644 --- a/src/test/Example.Extension/ExampleExtensionData.cs +++ b/src/test/Example.Extension/ExampleExtensionData.cs | |||
@@ -1,4 +1,4 @@ | |||
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. | 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 | 2 | ||
3 | namespace Example.Extension | 3 | namespace Example.Extension |
4 | { | 4 | { |
@@ -22,6 +22,10 @@ namespace Example.Extension | |||
22 | tupleDefinition = ExampleTupleDefinitions.Example; | 22 | tupleDefinition = ExampleTupleDefinitions.Example; |
23 | break; | 23 | break; |
24 | 24 | ||
25 | case "ExampleSearch": | ||
26 | tupleDefinition = ExampleTupleDefinitions.ExampleSearch; | ||
27 | break; | ||
28 | |||
25 | default: | 29 | default: |
26 | tupleDefinition = null; | 30 | tupleDefinition = null; |
27 | break; | 31 | break; |