56 lines
1.9 KiB
C#
56 lines
1.9 KiB
C#
using System;
|
|
using System.Configuration;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net.Configuration
|
|
{
|
|
/// <summary>Represents the performance counter element in the <see langword="System.Net" /> configuration file that determines whether networking performance counters are enabled. This class cannot be inherited.</summary>
|
|
// Token: 0x020003A7 RID: 935
|
|
[Token(Token = "0x20003A7")]
|
|
public sealed class PerformanceCountersElement : ConfigurationElement
|
|
{
|
|
/// <summary>Instantiates a <see cref="T:System.Net.Configuration.PerformanceCountersElement" /> object.</summary>
|
|
// Token: 0x060018BC RID: 6332 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60018BC")]
|
|
[Address(RVA = "0x29E8F40", Offset = "0x29E7D40", VA = "0x1829E8F40")]
|
|
public PerformanceCountersElement()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets whether performance counters are enabled.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if performance counters are enabled; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700057D RID: 1405
|
|
// (get) Token: 0x060018BD RID: 6333 RVA: 0x0000AA58 File Offset: 0x00008C58
|
|
// (set) Token: 0x060018BE RID: 6334 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700057D")]
|
|
public bool Enabled
|
|
{
|
|
[Token(Token = "0x60018BD")]
|
|
[Address(RVA = "0x29E8F70", Offset = "0x29E7D70", VA = "0x1829E8F70")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x60018BE")]
|
|
[Address(RVA = "0x29E8FD0", Offset = "0x29E7DD0", VA = "0x1829E8FD0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700057E RID: 1406
|
|
// (get) Token: 0x060018BF RID: 6335 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700057E")]
|
|
protected override ConfigurationPropertyCollection Properties
|
|
{
|
|
[Token(Token = "0x60018BF")]
|
|
[Address(RVA = "0x29E8FA0", Offset = "0x29E7DA0", VA = "0x1829E8FA0", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|