From d3d3649a68cb1fa589fdd987a6690dbd5d671f0d Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sun, 17 Sep 2017 15:35:20 -0700 Subject: Initial code commit --- .../AssemblyDefaultHeatExtensionAttribute.cs | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/WixToolset.Core/Extensibility/AssemblyDefaultHeatExtensionAttribute.cs (limited to 'src/WixToolset.Core/Extensibility/AssemblyDefaultHeatExtensionAttribute.cs') 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 @@ +// 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.Tools +{ + using System; + + /// + /// Represents a custom attribute for declaring the type to use + /// as the default heat extension in an assembly. + /// + public class AssemblyDefaultHeatExtensionAttribute : Attribute + { + private readonly Type extensionType; + + /// + /// Instantiate a new AssemblyDefaultHeatExtensionAttribute. + /// + /// The type of the default heat extension in an assembly. + public AssemblyDefaultHeatExtensionAttribute(Type extensionType) + { + this.extensionType = extensionType; + } + + /// + /// Gets the type of the default heat extension in an assembly. + /// + /// The type of the default heat extension in an assembly. + public Type ExtensionType + { + get { return this.extensionType; } + } + } +} -- cgit v1.2.3-55-g6feb