C# 클래스 BudgetAnalyser.Engine.Statement.CsvOnDiskStatementModelRepositoryV1

상속: IVersionedStatementModelRepository
파일 보기 프로젝트 열기: Benrnz/BudgetAnalyser 1 사용 예제들

공개 메소드들

메소드 설명
CreateNewAndSaveAsync ( string storageKey ) : System.Threading.Tasks.Task
CsvOnDiskStatementModelRepositoryV1 ( [ importUtilities, [ logger, StatementModel>.[ mapper, [ readerWriterSelector ) : System
LoadAsync ( string storageKey, bool isEncrypted ) : Task

보호된 메소드들

메소드 설명
ReadLinesAsync ( string fileName, bool isEncrypted ) : Task>

Reads the lines from the file asynchronously.

ReadLinesAsync ( string fileName, int lines, bool isEncrypted ) : Task>

Reads the lines from the file asynchronously.

비공개 메소드들

메소드 설명
CalculateTransactionCheckSum ( TransactionSetDto setDto ) : long
CreateTransactionSet ( string fileName, List allLines, List transactions ) : TransactionSetDto
IsStatementModelAsync ( string storageKey, bool isEncrypted ) : Task
ReadTransactions ( long totalLines, List allLines ) : List
SaveAsync ( StatementModel model, string storageKey, bool isEncrypted ) : System.Threading.Tasks.Task
ValidateChecksumIntegrity ( TransactionSetDto transactionSet ) : void
VersionCheck ( List allLines ) : bool
WriteHeader ( StreamWriter writer, TransactionSetDto setDto ) : void

메소드 상세

CreateNewAndSaveAsync() 공개 메소드

public CreateNewAndSaveAsync ( string storageKey ) : System.Threading.Tasks.Task
storageKey string
리턴 System.Threading.Tasks.Task

CsvOnDiskStatementModelRepositoryV1() 공개 메소드

public CsvOnDiskStatementModelRepositoryV1 ( [ importUtilities, [ logger, StatementModel>.[ mapper, [ readerWriterSelector ) : System
importUtilities [
logger [
mapper StatementModel>.[
readerWriterSelector [
리턴 System

LoadAsync() 공개 메소드

public LoadAsync ( string storageKey, bool isEncrypted ) : Task
storageKey string
isEncrypted bool
리턴 Task

ReadLinesAsync() 보호된 메소드

Reads the lines from the file asynchronously.
protected ReadLinesAsync ( string fileName, bool isEncrypted ) : Task>
fileName string
isEncrypted bool
리턴 Task>

ReadLinesAsync() 보호된 메소드

Reads the lines from the file asynchronously.
protected ReadLinesAsync ( string fileName, int lines, bool isEncrypted ) : Task>
fileName string
lines int
isEncrypted bool
리턴 Task>