aboutsummaryrefslogtreecommitdiff
path: root/src/test/Example.Extension/ExampleSearchSymbol.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-04-22 17:19:56 -0700
committerRob Mensching <rob@firegiant.com>2021-04-29 19:53:52 -0700
commit8cf0427984a88b0b3ddfb2061e5be721afffe82e (patch)
tree22e2aaf7665d5ab6d3dc2a8ce8f05d73080d1f20 /src/test/Example.Extension/ExampleSearchSymbol.cs
parent8426095723fb8530a321260473ab543151bf8c98 (diff)
downloadwix-8cf0427984a88b0b3ddfb2061e5be721afffe82e.tar.gz
wix-8cf0427984a88b0b3ddfb2061e5be721afffe82e.tar.bz2
wix-8cf0427984a88b0b3ddfb2061e5be721afffe82e.zip
Move Core into wix
Diffstat (limited to 'src/test/Example.Extension/ExampleSearchSymbol.cs')
-rw-r--r--src/test/Example.Extension/ExampleSearchSymbol.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/test/Example.Extension/ExampleSearchSymbol.cs b/src/test/Example.Extension/ExampleSearchSymbol.cs
deleted file mode 100644
index 40a39292..00000000
--- a/src/test/Example.Extension/ExampleSearchSymbol.cs
+++ /dev/null
@@ -1,30 +0,0 @@
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 Example.Extension
4{
5 using WixToolset.Data;
6
7 public enum ExampleSearchSymbolFields
8 {
9 SearchFor,
10 }
11
12 public class ExampleSearchSymbol : IntermediateSymbol
13 {
14 public ExampleSearchSymbol() : base(ExampleSymbolDefinitions.ExampleSearch, null, null)
15 {
16 }
17
18 public ExampleSearchSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ExampleSymbolDefinitions.ExampleSearch, sourceLineNumber, id)
19 {
20 }
21
22 public IntermediateField this[ExampleSymbolFields index] => this.Fields[(int)index];
23
24 public string SearchFor
25 {
26 get => this.Fields[(int)ExampleSearchSymbolFields.SearchFor]?.AsString();
27 set => this.Set((int)ExampleSearchSymbolFields.SearchFor, value);
28 }
29 }
30}