C# Class Prizm.Main.Synch.Import.Importer

Inheritance: IImporter
Exibir arquivo Open project: AleksMorozova/prizm

Protected Properties

Property Type Description
encryptor IEncryptor
hasher IHasher

Public Methods

Method Description
Import ( string archiveName ) : ImportResult

Protected Methods

Method Description
ArchiveExists ( string fileName ) : bool
FireConflict ( ConflictEventArgs args ) : void
FireError ( ImportException e ) : ImportResult
FireMessage ( string msg ) : void
FireMissing ( MissingEventArgs args ) : void
FireOnDone ( ) : void
FireProgress ( int progress ) : void
Importer ( IHasher hasher, IEncryptor encryptor ) : System
UnzipContent ( string archiveName, string tempDir ) : void
ValidateChecksum ( string fileName ) : void

Method Details

ArchiveExists() protected method

protected ArchiveExists ( string fileName ) : bool
fileName string
return bool

FireConflict() protected method

protected FireConflict ( ConflictEventArgs args ) : void
args ConflictEventArgs
return void

FireError() protected method

protected FireError ( ImportException e ) : ImportResult
e ImportException
return ImportResult

FireMessage() protected method

protected FireMessage ( string msg ) : void
msg string
return void

FireMissing() protected method

protected FireMissing ( MissingEventArgs args ) : void
args MissingEventArgs
return void

FireOnDone() protected method

protected FireOnDone ( ) : void
return void

FireProgress() protected method

protected FireProgress ( int progress ) : void
progress int
return void

Import() public abstract method

public abstract Import ( string archiveName ) : ImportResult
archiveName string
return ImportResult

Importer() protected method

protected Importer ( IHasher hasher, IEncryptor encryptor ) : System
hasher IHasher
encryptor IEncryptor
return System

UnzipContent() protected method

protected UnzipContent ( string archiveName, string tempDir ) : void
archiveName string
tempDir string
return void

ValidateChecksum() protected method

protected ValidateChecksum ( string fileName ) : void
fileName string
return void

Property Details

encryptor protected_oe property

protected IEncryptor encryptor
return IEncryptor

hasher protected_oe property

protected IHasher hasher
return IHasher