Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

84 lines
2.7 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Diagnostics.Tracing
{
/// <summary>Specifies overrides of default event settings such as the log level, keywords and operation code when the <see cref="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions,``0)" /> method is called.</summary>
// Token: 0x02000636 RID: 1590
[Token(Token = "0x2000636")]
public struct EventSourceOptions
{
/// <summary>Gets or sets the event level applied to the event.</summary>
/// <returns>The event level for the event. If not set, the default is Verbose (5).</returns>
// Token: 0x1700077A RID: 1914
// (set) Token: 0x06002FD1 RID: 12241 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700077A")]
public EventLevel Level
{
[Token(Token = "0x6002FD1")]
[Address(RVA = "0x1E931B0", Offset = "0x1E91FB0", VA = "0x181E931B0")]
set
{
}
}
/// <summary>Gets or sets the operation code to use for the specified event.</summary>
/// <returns>The operation code to use for the specified event. If not set, the default is <see langword="Info" /> (0).</returns>
// Token: 0x1700077B RID: 1915
// (set) Token: 0x06002FD2 RID: 12242 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700077B")]
public EventOpcode Opcode
{
[Token(Token = "0x6002FD2")]
[Address(RVA = "0x1E93210", Offset = "0x1E92010", VA = "0x181E93210")]
set
{
}
}
/// <summary>Gets or sets the keywords applied to the event. If this property is not set, the event's keywords will be <see langword="None" />.</summary>
/// <returns>The keywords applied to the event, or <see langword="None" /> if no keywords are set.</returns>
// Token: 0x1700077C RID: 1916
// (set) Token: 0x06002FD3 RID: 12243 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700077C")]
public EventKeywords Keywords
{
[Token(Token = "0x6002FD3")]
[Address(RVA = "0x1E931A0", Offset = "0x1E91FA0", VA = "0x181E931A0")]
set
{
}
}
// Token: 0x04001AA6 RID: 6822
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001AA6")]
internal EventKeywords keywords;
// Token: 0x04001AA7 RID: 6823
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4001AA7")]
internal EventTags tags;
// Token: 0x04001AA8 RID: 6824
[FieldOffset(Offset = "0xC")]
[Token(Token = "0x4001AA8")]
internal EventActivityOptions activityOptions;
// Token: 0x04001AA9 RID: 6825
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001AA9")]
internal byte level;
// Token: 0x04001AAA RID: 6826
[FieldOffset(Offset = "0x11")]
[Token(Token = "0x4001AAA")]
internal byte opcode;
// Token: 0x04001AAB RID: 6827
[FieldOffset(Offset = "0x12")]
[Token(Token = "0x4001AAB")]
internal byte valuesSet;
}
}