Moved static csv conversions to own file.

This commit is contained in:
Eugene Wang 2021-04-22 07:46:02 -04:00
parent 5ca9bb601c
commit 9bd155d419
3 changed files with 1932 additions and 1880 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -216,7 +216,7 @@ namespace NTwain
if (State > STATE.S3)
{
TW_IDENTITY twidentity = default;
if (TWAIN.CsvToIdentity(ref twidentity, _twain.GetDsIdentity()))
if (CsvSerializer.CsvToIdentity(ref twidentity, _twain.GetDsIdentity()))
{
return twidentity;
}
@ -274,7 +274,7 @@ namespace NTwain
if ((_twain.GetState() == STATE.S4) && (state < STATE.S4))
{
TW_IDENTITY twidentity = default;
TWAIN.CsvToIdentity(ref twidentity, _twain.GetDsIdentity());
CsvSerializer.CsvToIdentity(ref twidentity, _twain.GetDsIdentity());
_twain.DatIdentity(DG.CONTROL, MSG.CLOSEDS, ref twidentity);
}