36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Reflection
|
|
{
|
|
/// <summary>Defines a product name custom attribute for an assembly manifest.</summary>
|
|
// Token: 0x02000231 RID: 561
|
|
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
|
|
[ComVisible(true)]
|
|
public sealed class AssemblyProductAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AssemblyProductAttribute" /> class.</summary>
|
|
/// <param name="product">The product name information. </param>
|
|
// Token: 0x06001DA5 RID: 7589 RVA: 0x0006EB3C File Offset: 0x0006CD3C
|
|
public AssemblyProductAttribute(string product)
|
|
{
|
|
this.name = product;
|
|
}
|
|
|
|
/// <summary>Gets product name information.</summary>
|
|
/// <returns>A string containing the product name.</returns>
|
|
// Token: 0x17000559 RID: 1369
|
|
// (get) Token: 0x06001DA6 RID: 7590 RVA: 0x0006EB4C File Offset: 0x0006CD4C
|
|
public string Product
|
|
{
|
|
get
|
|
{
|
|
return this.name;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000A00 RID: 2560
|
|
private string name;
|
|
}
|
|
}
|