// 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.Mba.Core
{
using System;
///
/// Identifies the bootstrapper application factory class.
///
///
/// This required assembly attribute identifies the bootstrapper application factory class.
///
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public sealed class BootstrapperApplicationFactoryAttribute : Attribute
{
private Type bootstrapperApplicationFactoryType;
///
/// Creates a new instance of the class.
///
/// The of the BA factory.
public BootstrapperApplicationFactoryAttribute(Type bootstrapperApplicationFactoryType)
{
this.bootstrapperApplicationFactoryType = bootstrapperApplicationFactoryType;
}
///
/// Gets the type of the bootstrapper application factory class to create.
///
public Type BootstrapperApplicationFactoryType
{
get { return this.bootstrapperApplicationFactoryType; }
}
}
}