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