C# Class SparkleLib.SparkleRepoBase

Afficher le fichier Open project: brandondahler/SparkleShare Class Usage Examples

Méthodes publiques

Свойство Type Description
LocalPath string
Name string
RemoteUrl System.Uri
UseCustomWatcher bool

Protected Properties

Свойство Type Description
local_config SparkleConfig

Private Properties

Свойство Type Description
CalculateSize long
CreateListener void
ListenerAnnouncementReceivedDelegate void
ListenerDisconnectedDelegate void
SyncDownBase void
SyncUpBase void

Méthodes publiques

Méthode Description
Dispose ( ) : void
ForceRetry ( ) : void
GetChangeSets ( ) : List
GetChangeSets ( string path ) : List
Initialize ( ) : void
OnFileActivity ( FileSystemEventArgs args ) : void
RestoreFile ( string path, string revision, string target_file_path ) : void
SparkleRepoBase ( string path, SparkleConfig config ) : System
SyncDown ( ) : bool
SyncUp ( ) : bool

Méthodes protégées

Méthode Description
OnConflictResolved ( ) : void
OnProgressChanged ( double progress_percentage, double progress_speed ) : void

Private Methods

Méthode Description
CalculateSize ( DirectoryInfo parent ) : long
CreateListener ( ) : void
ListenerAnnouncementReceivedDelegate ( SparkleAnnouncement announcement ) : void
ListenerDisconnectedDelegate ( ) : void
SyncDownBase ( ) : void
SyncUpBase ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ForceRetry() public méthode

public ForceRetry ( ) : void
Résultat void

GetChangeSets() public abstract méthode

public abstract GetChangeSets ( ) : List
Résultat List

GetChangeSets() public abstract méthode

public abstract GetChangeSets ( string path ) : List
path string
Résultat List

Initialize() public méthode

public Initialize ( ) : void
Résultat void

OnConflictResolved() protected méthode

protected OnConflictResolved ( ) : void
Résultat void

OnFileActivity() public méthode

public OnFileActivity ( FileSystemEventArgs args ) : void
args System.IO.FileSystemEventArgs
Résultat void

OnProgressChanged() protected méthode

protected OnProgressChanged ( double progress_percentage, double progress_speed ) : void
progress_percentage double
progress_speed double
Résultat void

RestoreFile() public abstract méthode

public abstract RestoreFile ( string path, string revision, string target_file_path ) : void
path string
revision string
target_file_path string
Résultat void

SparkleRepoBase() public méthode

public SparkleRepoBase ( string path, SparkleConfig config ) : System
path string
config SparkleConfig
Résultat System

SyncDown() public abstract méthode

public abstract SyncDown ( ) : bool
Résultat bool

SyncUp() public abstract méthode

public abstract SyncUp ( ) : bool
Résultat bool

Property Details

LocalPath public_oe property

public string LocalPath
Résultat string

Name public_oe property

public string Name
Résultat string

RemoteUrl public_oe property

public Uri,System RemoteUrl
Résultat System.Uri

UseCustomWatcher public_oe static_oe property

public static bool UseCustomWatcher
Résultat bool

local_config protected_oe property

protected SparkleConfig local_config
Résultat SparkleConfig