aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/SimpleTupleDefinitionCreator.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-11-01 10:56:09 -0700
committerRob Mensching <rob@firegiant.com>2017-11-01 10:56:09 -0700
commit69b15d96cebdbb7201b1849b4f62786633d70b8d (patch)
tree4b65de8679e4b4ab81b69edcccbac1ae9f55a16d /src/WixToolset.Data/SimpleTupleDefinitionCreator.cs
parenta8656a87887d6cb2c54f4bbeacee37f7074f1032 (diff)
downloadwix-69b15d96cebdbb7201b1849b4f62786633d70b8d.tar.gz
wix-69b15d96cebdbb7201b1849b4f62786633d70b8d.tar.bz2
wix-69b15d96cebdbb7201b1849b4f62786633d70b8d.zip
Introduce WiX Intermediate Representation
Diffstat (limited to 'src/WixToolset.Data/SimpleTupleDefinitionCreator.cs')
-rw-r--r--src/WixToolset.Data/SimpleTupleDefinitionCreator.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/WixToolset.Data/SimpleTupleDefinitionCreator.cs b/src/WixToolset.Data/SimpleTupleDefinitionCreator.cs
new file mode 100644
index 00000000..b9d0b620
--- /dev/null
+++ b/src/WixToolset.Data/SimpleTupleDefinitionCreator.cs
@@ -0,0 +1,13 @@
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.Data
4{
5 internal class SimpleTupleDefinitionCreator : ITupleDefinitionCreator
6 {
7 public bool TryGetTupleDefinitionByName(string name, out IntermediateTupleDefinition tupleDefinition)
8 {
9 tupleDefinition = TupleDefinitions.ByName(name);
10 return tupleDefinition != null;
11 }
12 }
13} \ No newline at end of file