From 69b15d96cebdbb7201b1849b4f62786633d70b8d Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 1 Nov 2017 10:56:09 -0700 Subject: Introduce WiX Intermediate Representation --- src/WixToolset.Data/SimpleTupleDefinitionCreator.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/WixToolset.Data/SimpleTupleDefinitionCreator.cs (limited to 'src/WixToolset.Data/SimpleTupleDefinitionCreator.cs') 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 @@ +// 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. + +namespace WixToolset.Data +{ + internal class SimpleTupleDefinitionCreator : ITupleDefinitionCreator + { + public bool TryGetTupleDefinitionByName(string name, out IntermediateTupleDefinition tupleDefinition) + { + tupleDefinition = TupleDefinitions.ByName(name); + return tupleDefinition != null; + } + } +} \ No newline at end of file -- cgit v1.2.3-55-g6feb