using NEG.UI.Window; using System.Collections.Generic; namespace NEG.UI.WindowSlot { public interface ISlotsHolder { IEnumerable AvailableSlots { get; } /// /// Open window /// /// /// void OpenWindow(IWindow window, object data = null); void CloseAllWindows() { foreach (var slot in AvailableSlots) slot.CloseAllWindows(); } } }