C# Class VAGSuite.TransactionLog

Afficher le fichier Open project: Blackfrosch/VAGEDCSuite Class Usage Examples

Méthodes publiques

Méthode Description
AddToTransactionLog ( TransactionEntry entry ) : void
CreateFile ( string projectFolder, string project ) : bool
CreateFileByFilename ( ) : bool
OpenTransActionLog ( string projectFolder, string project ) : bool
Purge ( ) : void
ReadTransactionFile ( ) : void
ReadTransactionFileVersion1 ( string filename ) : TransactionCollection
SetEntryNote ( TransactionEntry ChangedEntry ) : void
SetEntryRolledBack ( int transActionNumber ) : void
SetEntryRolledForward ( int transActionNumber ) : void
UpdateChecksum ( ) : void
UpdateNumberOfTransActions ( ) : void
VerifyChecksum ( ) : bool

Private Methods

Méthode Description
AddTransactionToFile ( TransactionEntry entry, bool updateChecksum ) : void
AppendByteToFile ( byte b ) : void
AppendDataToFile ( byte b ) : void
AppendInt16ToFile ( Int16 b ) : void
AppendInt32ToFile ( Int32 b ) : void
SaveTransactionLog ( ) : void
UpgradeTransActionLog ( string input, string output ) : void
readInt32FromFile ( string filename, int offset ) : Int32
readbyteFromFile ( string filename, int offset ) : byte
readbytesFromFile ( string filename, int offset, int length ) : byte[]
writeInt32ToFile ( string filename, int offset, Int32 value ) : void

Method Details

AddToTransactionLog() public méthode

public AddToTransactionLog ( TransactionEntry entry ) : void
entry TransactionEntry
Résultat void

CreateFile() public méthode

public CreateFile ( string projectFolder, string project ) : bool
projectFolder string
project string
Résultat bool

CreateFileByFilename() public méthode

public CreateFileByFilename ( ) : bool
Résultat bool

OpenTransActionLog() public méthode

public OpenTransActionLog ( string projectFolder, string project ) : bool
projectFolder string
project string
Résultat bool

Purge() public méthode

public Purge ( ) : void
Résultat void

ReadTransactionFile() public méthode

public ReadTransactionFile ( ) : void
Résultat void

ReadTransactionFileVersion1() public méthode

public ReadTransactionFileVersion1 ( string filename ) : TransactionCollection
filename string
Résultat TransactionCollection

SetEntryNote() public méthode

public SetEntryNote ( TransactionEntry ChangedEntry ) : void
ChangedEntry TransactionEntry
Résultat void

SetEntryRolledBack() public méthode

public SetEntryRolledBack ( int transActionNumber ) : void
transActionNumber int
Résultat void

SetEntryRolledForward() public méthode

public SetEntryRolledForward ( int transActionNumber ) : void
transActionNumber int
Résultat void

UpdateChecksum() public méthode

public UpdateChecksum ( ) : void
Résultat void

UpdateNumberOfTransActions() public méthode

public UpdateNumberOfTransActions ( ) : void
Résultat void

VerifyChecksum() public méthode

public VerifyChecksum ( ) : bool
Résultat bool