This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,50 @@
using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a way to synchronously or asynchronously execute a delegate.</summary>
// Token: 0x02000141 RID: 321
[Token(Token = "0x2000141")]
public interface ISynchronizeInvoke
{
/// <summary>Gets a value indicating whether the caller must call <see cref="M:System.ComponentModel.ISynchronizeInvoke.Invoke(System.Delegate,System.Object[])" /> when calling an object that implements this interface.</summary>
/// <returns>
/// <see langword="true" /> if the caller must call <see cref="M:System.ComponentModel.ISynchronizeInvoke.Invoke(System.Delegate,System.Object[])" />; otherwise, <see langword="false" />.</returns>
// Token: 0x17000177 RID: 375
// (get) Token: 0x060007D2 RID: 2002
[Token(Token = "0x17000177")]
bool InvokeRequired
{
[Token(Token = "0x60007D2")]
[Address(Slot = "0")]
get;
}
/// <summary>Asynchronously executes the delegate on the thread that created this object.</summary>
/// <param name="method">A <see cref="T:System.Delegate" /> to a method that takes parameters of the same number and type that are contained in <paramref name="args" />.</param>
/// <param name="args">An array of type <see cref="T:System.Object" /> to pass as arguments to the given method. This can be <see langword="null" /> if no arguments are needed.</param>
/// <returns>An <see cref="T:System.IAsyncResult" /> interface that represents the asynchronous operation started by calling this method.</returns>
// Token: 0x060007D3 RID: 2003
[Token(Token = "0x60007D3")]
[Address(Slot = "1")]
IAsyncResult BeginInvoke(Delegate method, object[] args);
/// <summary>Waits until the process started by calling <see cref="M:System.ComponentModel.ISynchronizeInvoke.BeginInvoke(System.Delegate,System.Object[])" /> completes, and then returns the value generated by the process.</summary>
/// <param name="result">An <see cref="T:System.IAsyncResult" /> interface that represents the asynchronous operation started by calling <see cref="M:System.ComponentModel.ISynchronizeInvoke.BeginInvoke(System.Delegate,System.Object[])" />.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the return value generated by the asynchronous operation.</returns>
// Token: 0x060007D4 RID: 2004
[Token(Token = "0x60007D4")]
[Address(Slot = "2")]
object EndInvoke(IAsyncResult result);
/// <summary>Synchronously executes the delegate on the thread that created this object and marshals the call to the creating thread.</summary>
/// <param name="method">A <see cref="T:System.Delegate" /> that contains a method to call, in the context of the thread for the control.</param>
/// <param name="args">An array of type <see cref="T:System.Object" /> that represents the arguments to pass to the given method. This can be <see langword="null" /> if no arguments are needed.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the return value from the delegate being invoked, or <see langword="null" /> if the delegate has no return value.</returns>
// Token: 0x060007D5 RID: 2005
[Token(Token = "0x60007D5")]
[Address(Slot = "3")]
object Invoke(Delegate method, object[] args);
}
}