using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace AIK.Service.Extensions { public interface IWindowFactory { // 新增:基于Type的方法 Window CreateWindow(Type windowType); Window CreateWindow(Type windowType, Type viewModelType, object viewModel = null); } }