public virtual IEnumerable<IProjectItem> GetItemsOfType(ProjectItemType type) { throw new NotImplementedException(); }
/// <summary> /// 返回目标类型的项目资产 /// </summary> public static IEnumerable<IProjectItem> GetItemsOfType(ProjectItemType type) { if (CurrentProject != null) { foreach (var item in CurrentProject.GetItemsOfType(type)) { yield return item; } } }