IContainer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Allows you to access the features associated with this container
public interface class IContainer : IDisposable, Microsoft::EnterpriseManagement::IInitializable
public interface IContainer : IDisposable, Microsoft.EnterpriseManagement.IInitializable
type IContainer = interface
interface IInitializable
interface IDisposable
Public Interface IContainer
Implements IDisposable, IInitializable
- Derived
- Implements
Remarks
This is an Inversion of Control (IoC) interface that you can use to load services in the SDK client. All the strongly typed properties of the EnterpriseManagementGroup (such as EntityObjects) are actually internally loaded by means of an IoC architecture.
Properties
Features |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Returns the features associated with this container instance. |
LifetimeManagers |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the lifetime manager type registry. |
Methods
AddService<T,V>(String, ActivationContext<V>) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Adds a new service to the container. |
AddService<T,V>(String, V) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Adds a new service to the container by instantiating the type |
Configure(Stream) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Initializes the container from the stream. |
GetService<T>(String) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Searches for and returns the specified service. |
GetServices<T>() |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Returns all services of the specified type. |
HasService<T>(String) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Determines whether the specified container has the named service. |
Initialize(IContainer) |
Initializes the current instance. (Inherited from IInitializable) |
LookupService(Object) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the name the specified service is filed under. |
RemoveService(String) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Removes the service with the specified name. |
RemoveServices() |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Removes all services from the container. |