using System; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides a way to synchronously or asynchronously execute a delegate. // Token: 0x02000145 RID: 325 [Token(Token = "0x2000145")] public interface ISynchronizeInvoke { /// Gets a value indicating whether the caller must call when calling an object that implements this interface. /// /// if the caller must call ; otherwise, . // Token: 0x1700017B RID: 379 // (get) Token: 0x060007E8 RID: 2024 [Token(Token = "0x1700017B")] bool InvokeRequired { [Token(Token = "0x60007E8")] [Address(Slot = "0")] get; } /// Asynchronously executes the delegate on the thread that created this object. /// A to a method that takes parameters of the same number and type that are contained in . /// An array of type to pass as arguments to the given method. This can be if no arguments are needed. /// An interface that represents the asynchronous operation started by calling this method. // Token: 0x060007E9 RID: 2025 [Token(Token = "0x60007E9")] [Address(Slot = "1")] IAsyncResult BeginInvoke(Delegate method, object[] args); /// Waits until the process started by calling completes, and then returns the value generated by the process. /// An interface that represents the asynchronous operation started by calling . /// An that represents the return value generated by the asynchronous operation. // Token: 0x060007EA RID: 2026 [Token(Token = "0x60007EA")] [Address(Slot = "2")] object EndInvoke(IAsyncResult result); /// Synchronously executes the delegate on the thread that created this object and marshals the call to the creating thread. /// A that contains a method to call, in the context of the thread for the control. /// An array of type that represents the arguments to pass to the given method. This can be if no arguments are needed. /// An that represents the return value from the delegate being invoked, or if the delegate has no return value. // Token: 0x060007EB RID: 2027 [Token(Token = "0x60007EB")] [Address(Slot = "3")] object Invoke(Delegate method, object[] args); } }