aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Msmq/wixext/MsmqExtensionData.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-05-11 08:06:11 -0700
committerRob Mensching <rob@firegiant.com>2021-05-11 08:06:11 -0700
commit3ae536eb53fe0cc9bbcb1aeb0cd88c89f4f3e2cc (patch)
tree4a350e72c1a0bbe0012bdf4d6451d691ccf39e6b /src/ext/Msmq/wixext/MsmqExtensionData.cs
parent400d3eaae96f9cf9d15b448240b944473964ee31 (diff)
parentd77dca43e87e8711b19910a8fd49138f939bf0a4 (diff)
downloadwix-3ae536eb53fe0cc9bbcb1aeb0cd88c89f4f3e2cc.tar.gz
wix-3ae536eb53fe0cc9bbcb1aeb0cd88c89f4f3e2cc.tar.bz2
wix-3ae536eb53fe0cc9bbcb1aeb0cd88c89f4f3e2cc.zip
Merge Msmq.wixext
Diffstat (limited to 'src/ext/Msmq/wixext/MsmqExtensionData.cs')
-rw-r--r--src/ext/Msmq/wixext/MsmqExtensionData.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ext/Msmq/wixext/MsmqExtensionData.cs b/src/ext/Msmq/wixext/MsmqExtensionData.cs
new file mode 100644
index 00000000..91485724
--- /dev/null
+++ b/src/ext/Msmq/wixext/MsmqExtensionData.cs
@@ -0,0 +1,30 @@
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.Msmq
4{
5 using WixToolset.Data;
6 using WixToolset.Extensibility;
7
8 /// <summary>
9 /// The WiX Toolset MSMQ Extension.
10 /// </summary>
11 public sealed class MsmqExtensionData : BaseExtensionData
12 {
13 /// <summary>
14 /// Gets the default culture.
15 /// </summary>
16 /// <value>The default culture.</value>
17 public override string DefaultCulture => "en-US";
18
19 public override bool TryGetSymbolDefinitionByName(string name, out IntermediateSymbolDefinition symbolDefinition)
20 {
21 symbolDefinition = MsmqSymbolDefinitions.ByName(name);
22 return symbolDefinition != null;
23 }
24
25 public override Intermediate GetLibrary(ISymbolDefinitionCreator symbolDefinitions)
26 {
27 return Intermediate.Load(typeof(MsmqExtensionData).Assembly, "WixToolset.Msmq.msmq.wixlib", symbolDefinitions);
28 }
29 }
30}