Table of Contents

Class ServiceContainer

Namespace
Dynamicweb.Extensibility
Assembly
Dynamicweb.Extensibility.dll
This class provides the ambient container for this application. If your framework defines such an ambient container, use ServiceLocator.Current to get it.
[Obsolete("Is not used. Provides backward compatibility.")]
public static class ServiceContainer
Inheritance
ServiceContainer
Inherited Members

Properties

Assemblies

Gets or sets the assemblies.
public static Assembly[] Assemblies { get; set; }

Property Value

Assembly[]
The assemblies.

Current

The current ambient container.
public static IServiceContainer Current { get; }

Property Value

IServiceContainer
The current.

Internal

Gets the internal.
public static IServiceContainer Internal { get; }

Property Value

IServiceContainer
The internal.

SystemFolder

Gets or sets the system folder.
public static string SystemFolder { get; set; }

Property Value

string
The system folder.

Methods

ClearContainer()

Clears the Container
public static void ClearContainer()

SetContainerProvider(ServiceContainerProvider)

Set the delegate that is used to retrieve the current container.
public static void SetContainerProvider(ServiceContainerProvider newProvider)

Parameters

newProvider ServiceContainerProvider
Delegate that, when called, will return the current ambient container.
To top