Delegate ServiceLocatorProvider
This delegate type is used to provide a method that will
return the current container. Used with the ServiceLocator
static accessor class.
Assembly: EPiServer.Framework.dll
Version: 10.10.4
Syntax
public delegate IServiceLocator ServiceLocatorProvider();
Returns
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 IServiceLocator EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
Returns
Invoke()
Declaration
public virtual IServiceLocator Invoke()
Returns
Extension Methods