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.
28 lines
645 B
28 lines
645 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 Properties
|
|
|
|
#region Methods
|
|
|
|
IContainer CreateContainer(string containerName);
|
|
|
|
IContainer GetContainer(string containerName);
|
|
|
|
bool Contains(string containerName);
|
|
|
|
bool Remove(string containerName);
|
|
|
|
#endregion Methods
|
|
}
|
|
} |