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.
Zero/ZeroLevel/Services/DependencyInjection/Contracts/IContainerFactory.cs

28 lines
645 B

6 years ago
using System;
using System.Collections.Generic;
namespace ZeroLevel.Patterns.DependencyInjection
{
public interface IContainerFactory : IDisposable
{
#region Properties
6 years ago
IContainer this[string containerName] { get; }
IEnumerable<string> ContainerNames { get; }
IEnumerable<IContainer> Containers { get; }
#endregion Properties
6 years ago
#region Methods
6 years ago
IContainer CreateContainer(string containerName);
6 years ago
IContainer GetContainer(string containerName);
6 years ago
bool Contains(string containerName);
6 years ago
bool Remove(string containerName);
#endregion Methods
6 years ago
}
}

Powered by TurnKey Linux.