using System.Collections.Generic;
public static void Main()
var container = new Container();
container.RegisterMany<Action1>();
container.RegisterMany<Command1>();
var parsersList = container.Resolve<IList<IParser>>();
container.Resolve<IAction>();
container.Resolve<ICommand>();
Console.WriteLine(parsersList.Count);
public interface IParser {}
public interface IAction : IParser {}
public interface ICommand : IParser {}
public class Action1 : IAction {}
public class Command1 : ICommand {}