public QuickSortGroup(SignitureItem pivotItem, IEnumerable <SignitureItem> unsortedLines, int rankOffset, PhraseSorter mothership) { _mothership = mothership; PivotItem = pivotItem; _rankOffset = rankOffset; _unsortedLines = unsortedLines.ToList(); _betterLines = new List <SignitureItem>(); _worseLines = new List <SignitureItem>(); foreach (SignitureItem item in AllItems) { item.Rank = rankOffset; } }
public MainViewModel(IEnumerable <SignitureItem> items, string savePath) { _savePath = savePath; _sorter = new PhraseSorter(items); UpdateCurrentFight(); }