Skip to content

Conversation

@DedSec256
Copy link
Contributor

@DedSec256 DedSec256 commented Oct 22, 2022

PR содержит реализацию функциональности по выгрузке статистики решений в Google-таблицы, на Яндекс Диск и путем загрузки файла.

@DedSec256 DedSec256 force-pushed the google-sheets branch 2 times, most recently from c59e9ab to ce2e81c Compare November 27, 2022 15:20
else return Result.Failed("Некорректная ссылка");
}

private Result parseGoogleSheetLink(SheetUrl sheetUrl)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В C# методы всегда именуются с заглавной вроде

return (valueRange, range);
}


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)

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))

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();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var

Comment on lines 237 to 240
comparer = new Func<ExcelRange, ExcelRange, bool>((firstCell, secondCell) =>
{
return Equals(firstCell.Value, secondCell.Value);
});

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));

@DedSec256
Copy link
Contributor Author

@YuriUfimtsev, можешь отребейзить, пожалуйста?

@YuriUfimtsev
Copy link
Member

@DedSec256, done

@bygu4
Copy link
Contributor

bygu4 commented May 10, 2025

@DedSec256

@bygu4 bygu4 force-pushed the google-sheets branch 2 times, most recently from 9147934 to aa30dc9 Compare May 26, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants