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: 0x02000157 RID: 343
|
|
[Token(Token = "0x2000157")]
|
|
[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: 0x06000840 RID: 2112 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000840")]
|
|
[Address(RVA = "0xC5CCB0", Offset = "0xC5BCB0", VA = "0x180C5CCB0")]
|
|
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: 0x06000841 RID: 2113 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000841")]
|
|
[Address(RVA = "0xA1AEE0", Offset = "0xA19EE0", VA = "0x180A1AEE0")]
|
|
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: 0x06000842 RID: 2114 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000842")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
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: 0x17000189 RID: 393
|
|
// (get) Token: 0x06000843 RID: 2115 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000189")]
|
|
public Type LicenseProvider
|
|
{
|
|
[Token(Token = "0x6000843")]
|
|
[Address(RVA = "0xC5CCD0", Offset = "0xC5BCD0", VA = "0x180C5CCD0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Indicates a unique ID for this attribute type.</summary>
|
|
/// <returns>A unique ID for this attribute type.</returns>
|
|
// Token: 0x1700018A RID: 394
|
|
// (get) Token: 0x06000844 RID: 2116 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700018A")]
|
|
public override object TypeId
|
|
{
|
|
[Token(Token = "0x6000844")]
|
|
[Address(RVA = "0xC5CD90", Offset = "0xC5BD90", VA = "0x180C5CD90", 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: 0x06000845 RID: 2117 RVA: 0x00005148 File Offset: 0x00003348
|
|
[Token(Token = "0x6000845")]
|
|
[Address(RVA = "0xC5CB10", Offset = "0xC5BB10", VA = "0x180C5CB10", 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: 0x06000846 RID: 2118 RVA: 0x00005160 File Offset: 0x00003360
|
|
[Token(Token = "0x6000846")]
|
|
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", 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: 0x040004FF RID: 1279
|
|
[Token(Token = "0x40004FF")]
|
|
public static readonly LicenseProviderAttribute Default;
|
|
|
|
// Token: 0x04000500 RID: 1280
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000500")]
|
|
private Type licenseProviderType;
|
|
|
|
// Token: 0x04000501 RID: 1281
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000501")]
|
|
private string licenseProviderName;
|
|
}
|
|
}
|