42 lines
1.3 KiB
C#
42 lines
1.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Specifies which event is raised on initialization. This class cannot be inherited.</summary>
|
|
// Token: 0x02000145 RID: 325
|
|
[Token(Token = "0x2000145")]
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public sealed class InitializationEventAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.InitializationEventAttribute" /> class.</summary>
|
|
/// <param name="eventName">The name of the initialization event.</param>
|
|
// Token: 0x060007E3 RID: 2019 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60007E3")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public InitializationEventAttribute(string eventName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the name of the initialization event.</summary>
|
|
/// <returns>The name of the initialization event.</returns>
|
|
// Token: 0x1700017C RID: 380
|
|
// (get) Token: 0x060007E4 RID: 2020 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700017C")]
|
|
public string EventName
|
|
{
|
|
[Token(Token = "0x60007E4")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040004EA RID: 1258
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40004EA")]
|
|
private string eventName;
|
|
}
|
|
}
|