Table of Contents

Class AddInServiceLocator

Namespace
Dynamicweb.Extensibility.Providers
Assembly
Dynamicweb.Extensibility.dll
public class AddInServiceLocator : ServiceLocator, IServiceLocator, IServiceProvider
Inheritance
AddInServiceLocator
Implements
Inherited Members

Methods

DoGetAllInstances(Type)

When implemented by inheriting classes, this method will do the actual work of resolving all the requested service instances.
protected override IEnumerable<object> DoGetAllInstances(Type serviceType)

Parameters

serviceType Type
Type of service requested.

Returns

IEnumerable<object>
Sequence of service instance objects.

DoGetInstance(Type, string)

When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.
protected override object DoGetInstance(Type serviceType, string key)

Parameters

serviceType Type
Type of instance requested.
key string
Name of registered service you want. May be null.

Returns

object
The requested service instance.
To top