示例#1
0
 private IEnumerable <ConflictItem> GetConflictTaskItems(ITaskItem[] items, ConflictItemType itemType)
 {
     return((items != null) ? items.Select(i => new ConflictItem(i, itemType)) : Enumerable.Empty <ConflictItem>());
 }
示例#2
0
 public ConflictItem(ITaskItem originalItem, ConflictItemType itemType)
 {
     OriginalItem = originalItem;
     ItemType     = itemType;
 }
 public static bool IsSet( this ConflictItemType conflictItemType, ConflictItemType value )
 {
     return ( conflictItemType & value ) == value;
 }