Weasel.Export.Common 8.0.3
Weasel.Export
��������� ���������� ��� �������� �������� ������� ������ � ������� .xlsx
���������
���������� ��������� �� ���������� ������������ � ������������ - ����������� ��������� ��������� ��������, � ������� ��������� �������� �� ������ �������������� ��� ���� �����.
��� ���� (����� ����)
- �������� ����� -
StandartRow. ������ � ��� ������� �������� ������� ����� �������. �� ��������� 2 �������� ����������, ������� ��������� ���� ������:Cells- ������ ������ ������ (���������� �����)Color- ���� ������
���������� ���������� ����������:
IStandartHeaderExporter����� ������� ������� �������� ��������� - �������������� ����� GetHeader(). ��� ��������� ������� ������ ����� � �������� ���������� �������.ICustomHeaderExporter<T>��� ���� ����� ������� (� ����� ������) ������ - �������������� ����� GetHeader(T model). � ������� �� �������� ������ ������ ��� �������� ��������� ����� ������������ �������������� ������. ������� ������ ����� � ��� �� �������.
���������� ���������� �����:
IStandartRowExporter<T>����� �� ����� ������� ������� - ������ ������� ��� ��������������� ��� ������ ���� T � ������ ���� object?[]. ����� ���� ��� �������� �������� ref int counter - ��� ������� ����� ������� ����� �� ������ �� �������� ������ � �������. ������ ��� �� 1 �� N, ��� N - ������ ���������, ������� ���������� � ���������. ������� ���������������� �������������� (��� ������������� ����������� ������� - �� ���� �����).IOneToManyRowExporter<T>��� ����� �������� ����� ����� ��� ������� ����� ��� ������ �� ������ ������������ ������ 1 �������. ������ �������� �� ��, ������ ������ ���� ������������� �� ����� 1 �� ������, �� ���� �� 1 ������� ������ ���� T � ��������� StandartRow.IManyToOneRowExporter<T>����� �������� �������� - ���� ������������� �� ��������� �������� ���� T � 1 StandartRow ���������� ���� - ����������� ������� � ����� �������.
������� ���������
��������� ����������������� ���������� �� ������ �������������� ��������� ���������� ���������� � �������� ������������ ��������.
�� ������ �� ���� �������� ������� ����� ������ ���������� �������. ������ ���������� ������������� ������� ����������� ������, ��������� ������� �� ������ ��������� ���������� ���, ��������� ��������� ���� �������������� � ClosedXML.
StandartExporter<T>- ����������� ��������������IStandartHeaderExporter- ��� ���������,IStandartRowExporter<T>- ��� ����� �������.
OneToManyExporter<T>- ����������� ��������������IStandartHeaderExporter- ��� ���������,IOneToManyRowExporter<T>- ��� ����� �������.
AdditionalOnEndExporter- ����������� ��������������IStandartHeaderExporter- ��� ���������,IStandartRowExporter<T>- ��� ����� �������,IManyToOneRowExporter<T>- ��� ��������� ����������� ������.
No packages depend on Weasel.Export.Common.
ClosedXML update + readme + version sync
.NET 8.0
- ClosedXML (>= 0.102.2)