Table of Contents

Delegate ProviderContextDelegate

Namespace
nanoFramework.Hosting
Assembly
nanoFramework.Hosting.dll

Represents a function that can process a provider.

public delegate void ProviderContextDelegate(HostBuilderContext context, ServiceProviderOptions configure)

Parameters

context HostBuilderContext

The context for the request.

configure ServiceProviderOptions

The delegate that configures the ServiceProviderOptions.

Extension Methods

Constructors

ProviderContextDelegate(object, IntPtr)

public ProviderContextDelegate(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(HostBuilderContext, ServiceProviderOptions, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(HostBuilderContext context, ServiceProviderOptions configure, AsyncCallback callback, object @object)

Parameters

context HostBuilderContext
configure ServiceProviderOptions
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(HostBuilderContext, ServiceProviderOptions)

public virtual void Invoke(HostBuilderContext context, ServiceProviderOptions configure)

Parameters

context HostBuilderContext
configure ServiceProviderOptions