blob: 95252cf3b54e0b7856826ea5f0ab208225671702 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// 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;
/// <summary>
/// Identifies the bootstrapper application factory class.
/// </summary>
/// <remarks>
/// This required assembly attribute identifies the bootstrapper application factory class.
/// </remarks>
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public sealed class BootstrapperApplicationFactoryAttribute : Attribute
{
private Type bootstrapperApplicationFactoryType;
/// <summary>
/// Creates a new instance of the <see cref="BootstrapperApplicationFactoryAttribute"/> class.
/// </summary>
/// <param name="bootstrapperApplicationFactoryType">The <see cref="Type"/> of the BA factory.</param>
public BootstrapperApplicationFactoryAttribute(Type bootstrapperApplicationFactoryType)
{
this.bootstrapperApplicationFactoryType = bootstrapperApplicationFactoryType;
}
/// <summary>
/// Gets the type of the bootstrapper application factory class to create.
/// </summary>
public Type BootstrapperApplicationFactoryType
{
get { return this.bootstrapperApplicationFactoryType; }
}
}
}
|