You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -0,0 +1,43 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <copyright file="ISynchronizeInvoke.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace System.ComponentModel {
|
||||
using System;
|
||||
using System.Security.Permissions;
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Provides a way to synchronously or asynchronously execute a delegate.</para>
|
||||
/// </devdoc>
|
||||
public interface ISynchronizeInvoke {
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Gets a value indicating whether the caller must call <see cref='System.ComponentModel.ISynchronizeInvoke.Invoke'/> when calling an object that implements
|
||||
/// this interface.</para>
|
||||
/// </devdoc>
|
||||
bool InvokeRequired{get;}
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>
|
||||
/// Executes the given delegate on the main thread that this object executes on.</para>
|
||||
/// </devdoc>
|
||||
[HostProtection(Synchronization=true, ExternalThreading=true)]
|
||||
IAsyncResult BeginInvoke(Delegate method, object[] args);
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>Waits until the process you started by
|
||||
/// calling <see cref='System.ComponentModel.ISynchronizeInvoke.BeginInvoke'/> completes, and then returns
|
||||
/// the value generated by the process.</para>
|
||||
/// </devdoc>
|
||||
object EndInvoke(IAsyncResult result);
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>
|
||||
/// Executes the given delegate on the main thread that this object
|
||||
/// executes on.</para>
|
||||
/// </devdoc>
|
||||
object Invoke(Delegate method, object[] args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user