using System.Collections.Generic; namespace Unity.VisualScripting { public interface IConnectionCollection : ICollection where TConnection : IConnection { IEnumerable this[TSource source] { get; } IEnumerable this[TDestination destination] { get; } IEnumerable WithSource(TSource source); IEnumerable WithDestination(TDestination destination); } }