106 lines
4.2 KiB
C#
106 lines
4.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Specifies the <see cref="T:System.ComponentModel.LicenseProvider" /> to use with a class. This class cannot be inherited.</summary>
|
|
// Token: 0x0200015B RID: 347
|
|
[Token(Token = "0x200015B")]
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public sealed class LicenseProviderAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.LicenseProviderAttribute" /> class without a license provider.</summary>
|
|
// Token: 0x06000856 RID: 2134 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000856")]
|
|
[Address(RVA = "0x4F2900", Offset = "0x4F1700", VA = "0x1804F2900")]
|
|
public LicenseProviderAttribute()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.LicenseProviderAttribute" /> class with the specified type.</summary>
|
|
/// <param name="typeName">The fully qualified name of the license provider class.</param>
|
|
// Token: 0x06000857 RID: 2135 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000857")]
|
|
[Address(RVA = "0x4F28D0", Offset = "0x4F16D0", VA = "0x1804F28D0")]
|
|
public LicenseProviderAttribute(string typeName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.LicenseProviderAttribute" /> class with the specified type of license provider.</summary>
|
|
/// <param name="type">A <see cref="T:System.Type" /> that represents the type of the license provider class.</param>
|
|
// Token: 0x06000858 RID: 2136 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000858")]
|
|
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
|
public LicenseProviderAttribute(Type type)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the license provider that must be used with the associated class.</summary>
|
|
/// <returns>A <see cref="T:System.Type" /> that represents the type of the license provider. The default value is <see langword="null" />.</returns>
|
|
// Token: 0x1700018D RID: 397
|
|
// (get) Token: 0x06000859 RID: 2137 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700018D")]
|
|
public Type LicenseProvider
|
|
{
|
|
[Token(Token = "0x6000859")]
|
|
[Address(RVA = "0x4F2920", Offset = "0x4F1720", VA = "0x1804F2920")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Indicates a unique ID for this attribute type.</summary>
|
|
/// <returns>A unique ID for this attribute type.</returns>
|
|
// Token: 0x1700018E RID: 398
|
|
// (get) Token: 0x0600085A RID: 2138 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700018E")]
|
|
public override object TypeId
|
|
{
|
|
[Token(Token = "0x600085A")]
|
|
[Address(RVA = "0x4F29E0", Offset = "0x4F17E0", VA = "0x1804F29E0", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Indicates whether this instance and a specified object are equal.</summary>
|
|
/// <param name="value">Another object to compare to.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if <paramref name="value" /> is equal to this instance; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x0600085B RID: 2139 RVA: 0x00005160 File Offset: 0x00003360
|
|
[Token(Token = "0x600085B")]
|
|
[Address(RVA = "0x4F2730", Offset = "0x4F1530", VA = "0x1804F2730", Slot = "0")]
|
|
public override bool Equals(object value)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns the hash code for this instance.</summary>
|
|
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.LicenseProviderAttribute" />.</returns>
|
|
// Token: 0x0600085C RID: 2140 RVA: 0x00005178 File Offset: 0x00003378
|
|
[Token(Token = "0x600085C")]
|
|
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Specifies the default value, which is no provider. This <see langword="static" /> field is read-only.</summary>
|
|
// Token: 0x0400050C RID: 1292
|
|
[Token(Token = "0x400050C")]
|
|
public static readonly LicenseProviderAttribute Default;
|
|
|
|
// Token: 0x0400050D RID: 1293
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400050D")]
|
|
private Type licenseProviderType;
|
|
|
|
// Token: 0x0400050E RID: 1294
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400050E")]
|
|
private string licenseProviderName;
|
|
}
|
|
}
|