This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,55 @@
using System;
namespace System.Threading
{
/// <summary>Encapsulates and propagates the host execution context across threads. </summary>
/// <filterpriority>2</filterpriority>
// Token: 0x0200060F RID: 1551
[MonoTODO("Useless until the runtime supports it")]
public class HostExecutionContext
{
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.HostExecutionContext" /> class. </summary>
// Token: 0x060038AE RID: 14510 RVA: 0x000C4258 File Offset: 0x000C2458
public HostExecutionContext()
{
this._state = null;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.HostExecutionContext" /> class using the specified state. </summary>
/// <param name="state">An object representing the host execution context state.</param>
// Token: 0x060038AF RID: 14511 RVA: 0x000C4268 File Offset: 0x000C2468
public HostExecutionContext(object state)
{
this._state = state;
}
/// <summary>Creates a copy of the current host execution context.</summary>
/// <returns>A <see cref="T:System.Threading.HostExecutionContext" /> object representing the host context for the current thread.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x060038B0 RID: 14512 RVA: 0x000C4278 File Offset: 0x000C2478
public virtual HostExecutionContext CreateCopy()
{
return new HostExecutionContext(this._state);
}
/// <summary>Gets or sets the state of the host execution context.</summary>
/// <returns>An object representing the host execution context state.</returns>
// Token: 0x17000B01 RID: 2817
// (get) Token: 0x060038B1 RID: 14513 RVA: 0x000C4288 File Offset: 0x000C2488
// (set) Token: 0x060038B2 RID: 14514 RVA: 0x000C4290 File Offset: 0x000C2490
protected internal object State
{
get
{
return this._state;
}
set
{
this._state = value;
}
}
// Token: 0x040016EB RID: 5867
private object _state;
}
}