Esempio n. 1
0
        public void WriteUpdate()
        {
            var tmp_sheet = new GoogleSheet();

            tmp_sheet.SetSheetUrl(Origin.SheetUrl);
            tmp_sheet.SetSheetTab(Origin.SheetTab);
            tmp_sheet.WriteCell(this);
            Origin.LastRequested = DateTime.Now;
        }
Esempio n. 2
0
        //- Update Cell
        public void ReadUpdate()
        {
            var tmp_sheet = new GoogleSheet();

            tmp_sheet.IgnoreNull = true;
            tmp_sheet.SetSheetUrl(Origin.SheetUrl);
            tmp_sheet.SetSheetTab(Origin.SheetTab);
            var tmp_cell = tmp_sheet.ReadCell(Coordinate.Column, Coordinate.Row);

            Origin.LastRequested = tmp_cell.Origin.LastRequested;
            Content = tmp_cell.Content;
        }