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