public (int, Sorting, Usage, string) GetFilterParms(LineModel model) => FilterSort.GetParms(model);
/// <summary>We are scrolling back and forth in the flattened model hierarchy</summary> public (List <LineModel>, LineModel, bool, bool) GetCurrentView(int viewSize, LineModel leading, LineModel selected) { if (_buffer.IsEmpty) { _buffer.Refresh(Items[0], viewSize, leading); } var(list, eov, sov) = _buffer.GetList(); if (IsInvalidModel(selected) || !list.Contains(selected)) { selected = null; } return(list, selected, sov, eov); }
public void SetSorting(LineModel model, Sorting sorting) => FilterSort.SetSorting(model, sorting);
public void SetFilter(LineModel model, string text) => FilterSort.SetText(model, text);
public void SetUsage(LineModel model, Usage usage) => FilterSort.SetUsage(model, usage);
internal GraphModel_655(LineModel owner, Item item) : base(owner, item) { }
internal InsertCommand(LineModel owner, Action action) : base(owner, action) { }
internal LineCommand(LineModel model, Action action) { Owner = model; Action = action; }
internal RemoveCommand(LineModel owner, Action action) : base(owner, action) { }