mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
620 B
22 lines
620 B
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ZeroLevel.Patterns.DependencyInjection
|
|
{
|
|
public interface IContainerFactory : IDisposable
|
|
{
|
|
#region Properties
|
|
IContainer this[string containerName] { get; }
|
|
IEnumerable<string> ContainerNames { get; }
|
|
IEnumerable<IContainer> Containers { get; }
|
|
#endregion
|
|
|
|
#region Methods
|
|
IContainer CreateContainer(string containerName);
|
|
IContainer GetContainer(string containerName);
|
|
bool Contains(string containerName);
|
|
bool Remove(string containerName);
|
|
#endregion
|
|
}
|
|
}
|