//-------------------------------------------------------------------------------------------------
// <copyright file="AssemblyDefaultWixExtensionAttribute.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are covered by the
// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file CPL.TXT at the root of this distribution.
// By using this software in any fashion, you are agreeing to be bound by
// the terms of this license.
//
// You must not remove this notice, or any other, from this software.
// </copyright>
//
// <summary>
// Represents a custom attribute for declaring the type to use
// as the default WiX extension in an assembly.
// </summary>
//-------------------------------------------------------------------------------------------------
namespace Microsoft.Tools.WindowsInstallerXml{
using System;
/// <summary>
/// Represents a custom attribute for declaring the type to use
/// as the default WiX extension in an assembly.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyDefaultWixExtensionAttribute : Attribute
{
private readonly Type extensionType;
/// <summary>
/// Instantiate a new AssemblyDefaultWixExtensionAttribute.
/// </summary>
/// <param name="extensionType">The type of the default WiX extension in an assembly.</param>
public AssemblyDefaultWixExtensionAttribute(Type extensionType)
{
this.extensionType = extensionType;
}
/// <summary>
/// Gets the type of the default WiX extension in an assembly.
/// </summary>
/// <value>The type of the default WiX extension in an assembly.</value>
public Type ExtensionType
{
get { return this.extensionType; }
}
}
}
|