CSV_Viewer.data_model.PageBuffer.GotoLast C# (CSharp) Метод

GotoLast() публичный Метод

public GotoLast ( ) : void
Результат void
        public void GotoLast()
        {
            int remainder;
            var _ = Math.DivRem(_lines.Count-1, _pageLength, out remainder);
            _index_of_current_page_top_line = remainder == 0 ? _lines.Count - _pageLength : _lines.Count - remainder;
        }