diff options
Diffstat (limited to 'src/WixToolset.Data/SimpleTupleDefinitionCreator.cs')
-rw-r--r-- | src/WixToolset.Data/SimpleTupleDefinitionCreator.cs | 13 |
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 | |||
3 | namespace 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 | ||