-
Notifications
You must be signed in to change notification settings - Fork 17
Выгрузка таблицы со статистикой в Google Docs #209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
c59e9ab to
ce2e81c
Compare
| else return Result.Failed("Некорректная ссылка"); | ||
| } | ||
|
|
||
| private Result parseGoogleSheetLink(SheetUrl sheetUrl) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В C# методы всегда именуются с заглавной вроде
| return (valueRange, range); | ||
| } | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Лишняя пустая строчка, и некое массовое отсутствие комментариев
|
|
||
| public int Column { get; set; } | ||
|
|
||
| public Position(int rowPosition, int ColumnPosition) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Параметры именуются со строчной
- Когда HwProj откажется от древнего .NET Core, это может стать record-ом
| public void CheckTheEquivalenceOfTwoSheetsValues() | ||
| { | ||
| var result = ExcelGenerator.Generate(courseMatesModels, course, sheetName); | ||
| using (MemoryStream memoryStream = new MemoryStream(result)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using var
| var result = ExcelGenerator.Generate(courseMatesModels, course, sheetName); | ||
| using (MemoryStream memoryStream = new MemoryStream(result)) | ||
| { | ||
| ExcelPackage package = new ExcelPackage(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var
| comparer = new Func<ExcelRange, ExcelRange, bool>((firstCell, secondCell) => | ||
| { | ||
| return Equals(firstCell.Value, secondCell.Value); | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comparer = new Func<ExcelRange, ExcelRange, bool>((firstCell, secondCell) =>
Equals(firstCell.Value, secondCell.Value));75dc8c0 to
77dff88
Compare
840f5cf to
86589e7
Compare
|
@YuriUfimtsev, можешь отребейзить, пожалуйста? |
66d117c to
7dca217
Compare
|
@DedSec256, done |
3566360 to
7dca217
Compare
d0e0291 to
78ac8bc
Compare
9147934 to
aa30dc9
Compare
…w download errors
PR содержит реализацию функциональности по выгрузке статистики решений в Google-таблицы, на Яндекс Диск и путем загрузки файла.