namespace Test
{
public interface IFoo
}
public interface IFooCollection<in T> : IFoo
where T : IFoo
public Dictionary<string, T> Collection { get; }