C# Class NUnit.Framework.Internal.AsyncInvocationRegion

Inheritance: IDisposable
Afficher le fichier Open project: nunit/nunit

Méthodes publiques

Méthode Description
Create ( Delegate @delegate ) : AsyncInvocationRegion
Create ( MethodInfo method ) : AsyncInvocationRegion
Dispose ( ) : void
IsAsyncOperation ( Delegate @delegate ) : bool
IsAsyncOperation ( MethodInfo method ) : bool
WaitForPendingOperationsToComplete ( object invocationResult ) : object

Waits for pending asynchronous operations to complete, if appropriate, and returns a proper result of the invocation by unwrapping task results

Private Methods

Méthode Description
AsyncInvocationRegion ( ) : System

Method Details

Create() public static méthode

public static Create ( Delegate @delegate ) : AsyncInvocationRegion
@delegate System.Delegate
Résultat AsyncInvocationRegion

Create() public static méthode

public static Create ( MethodInfo method ) : AsyncInvocationRegion
method System.Reflection.MethodInfo
Résultat AsyncInvocationRegion

Dispose() public méthode

public Dispose ( ) : void
Résultat void

IsAsyncOperation() public static méthode

public static IsAsyncOperation ( Delegate @delegate ) : bool
@delegate System.Delegate
Résultat bool

IsAsyncOperation() public static méthode

public static IsAsyncOperation ( MethodInfo method ) : bool
method System.Reflection.MethodInfo
Résultat bool

WaitForPendingOperationsToComplete() public abstract méthode

Waits for pending asynchronous operations to complete, if appropriate, and returns a proper result of the invocation by unwrapping task results
public abstract WaitForPendingOperationsToComplete ( object invocationResult ) : object
invocationResult object The raw result of the method invocation
Résultat object