SaaS CMS has officially launched! Learn more now.

Class ServiceLocatorProvider

This delegate type is used to provide a method that will return the current container. Used with the ServiceLocator static accessor class.

Inheritance
System.Object
ServiceLocatorProvider
Namespace: EPiServer.ServiceLocation
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public sealed class ServiceLocatorProvider : MulticastDelegate
Remarks

Constructors

ServiceLocatorProvider(Object, IntPtr)

Declaration
public ServiceLocatorProvider(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(AsyncCallback callback, object object)
Parameters
Type Name Description
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual IServiceProvider EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result
Returns
Type Description
System.IServiceProvider

Invoke()

Declaration
public virtual IServiceProvider Invoke()
Returns
Type Description
System.IServiceProvider

Extension Methods