Table of Contents

Delegate InvocationMatcher

Namespace
Bunit
Assembly
Bunit.Web.dll

Represents a invocation matcher / predicate, that is used to determine if a JSRuntimeInvocationHandler<TResult> matches a specific JSRuntimeInvocation.

public delegate bool InvocationMatcher(JSRuntimeInvocation invocation)

Parameters

invocation JSRuntimeInvocation

The invocation to match against.

Returns

bool

True if the JSRuntimeInvocationHandler<TResult> can handle the invocation, false otherwise.

Extension Methods

Constructors

InvocationMatcher(object, nint)

public InvocationMatcher(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(JSRuntimeInvocation, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(JSRuntimeInvocation invocation, AsyncCallback callback, object @object)

Parameters

invocation JSRuntimeInvocation
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(JSRuntimeInvocation)

public virtual bool Invoke(JSRuntimeInvocation invocation)

Parameters

invocation JSRuntimeInvocation

Returns

bool
.NET Foundation

Supported by the .NET Foundation.