aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Extensibility/AssemblyDefaultHeatExtensionAttribute.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-09-17 15:35:20 -0700
committerRob Mensching <rob@firegiant.com>2017-09-17 16:00:11 -0700
commitd3d3649a68cb1fa589fdd987a6690dbd5d671f0d (patch)
tree44fe37ee352b7e3a355cc1e08b1d7d5988c14cc0 /src/WixToolset.Core/Extensibility/AssemblyDefaultHeatExtensionAttribute.cs
parenta62610d23d6feb98be3b1e529a4e81b19d77d9d8 (diff)
downloadwix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.tar.gz
wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.tar.bz2
wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.zip
Initial code commit
Diffstat (limited to 'src/WixToolset.Core/Extensibility/AssemblyDefaultHeatExtensionAttribute.cs')
-rw-r--r--src/WixToolset.Core/Extensibility/AssemblyDefaultHeatExtensionAttribute.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/WixToolset.Core/Extensibility/AssemblyDefaultHeatExtensionAttribute.cs b/src/WixToolset.Core/Extensibility/AssemblyDefaultHeatExtensionAttribute.cs
new file mode 100644
index 00000000..bb53e30c
--- /dev/null
+++ b/src/WixToolset.Core/Extensibility/AssemblyDefaultHeatExtensionAttribute.cs
@@ -0,0 +1,33 @@
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.Tools
4{
5 using System;
6
7 /// <summary>
8 /// Represents a custom attribute for declaring the type to use
9 /// as the default heat extension in an assembly.
10 /// </summary>
11 public class AssemblyDefaultHeatExtensionAttribute : Attribute
12 {
13 private readonly Type extensionType;
14
15 /// <summary>
16 /// Instantiate a new AssemblyDefaultHeatExtensionAttribute.
17 /// </summary>
18 /// <param name="extensionType">The type of the default heat extension in an assembly.</param>
19 public AssemblyDefaultHeatExtensionAttribute(Type extensionType)
20 {
21 this.extensionType = extensionType;
22 }
23
24 /// <summary>
25 /// Gets the type of the default heat extension in an assembly.
26 /// </summary>
27 /// <value>The type of the default heat extension in an assembly.</value>
28 public Type ExtensionType
29 {
30 get { return this.extensionType; }
31 }
32 }
33}