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
HostBuilderContextThe context for the request.
configure
ServiceProviderOptionsThe delegate that configures the ServiceProviderOptions.
- Extension Methods
Constructors
ProviderContextDelegate(object, IntPtr)
public ProviderContextDelegate(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(HostBuilderContext, ServiceProviderOptions, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(HostBuilderContext context, ServiceProviderOptions configure, AsyncCallback callback, object @object)
Parameters
context
HostBuilderContextconfigure
ServiceProviderOptionscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(HostBuilderContext, ServiceProviderOptions)
public virtual void Invoke(HostBuilderContext context, ServiceProviderOptions configure)
Parameters
context
HostBuilderContextconfigure
ServiceProviderOptions