diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/WixToolset.Data/IntermediateSectionExtensions.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/WixToolset.Data/IntermediateSectionExtensions.cs b/src/WixToolset.Data/IntermediateSectionExtensions.cs new file mode 100644 index 00000000..73afca7b --- /dev/null +++ b/src/WixToolset.Data/IntermediateSectionExtensions.cs | |||
| @@ -0,0 +1,14 @@ | |||
| 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 | public static class IntermediateSectionExtensions | ||
| 6 | { | ||
| 7 | public static T AddTuple<T>(this IntermediateSection section, T tuple) | ||
| 8 | where T : IntermediateTuple | ||
| 9 | { | ||
| 10 | section.Tuples.Add(tuple); | ||
| 11 | return tuple; | ||
| 12 | } | ||
| 13 | } | ||
| 14 | } | ||
