C# Class SparkleLib.SparkleRepoBase

Datei anzeigen Open project: brandondahler/SparkleShare Class Usage Examples

Public Properties

Property Type Description
LocalPath string
Name string
RemoteUrl System.Uri
UseCustomWatcher bool

Protected Properties

Property Type Description
local_config SparkleConfig

Private Properties

Property Type Description
CalculateSize long
CreateListener void
ListenerAnnouncementReceivedDelegate void
ListenerDisconnectedDelegate void
SyncDownBase void
SyncUpBase void

Public Methods

Method 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

Protected Methods

Method Description
OnConflictResolved ( ) : void
OnProgressChanged ( double progress_percentage, double progress_speed ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ForceRetry() public method

public ForceRetry ( ) : void
return void

GetChangeSets() public abstract method

public abstract GetChangeSets ( ) : List
return List

GetChangeSets() public abstract method

public abstract GetChangeSets ( string path ) : List
path string
return List

Initialize() public method

public Initialize ( ) : void
return void

OnConflictResolved() protected method

protected OnConflictResolved ( ) : void
return void

OnFileActivity() public method

public OnFileActivity ( FileSystemEventArgs args ) : void
args System.IO.FileSystemEventArgs
return void

OnProgressChanged() protected method

protected OnProgressChanged ( double progress_percentage, double progress_speed ) : void
progress_percentage double
progress_speed double
return void

RestoreFile() public abstract method

public abstract RestoreFile ( string path, string revision, string target_file_path ) : void
path string
revision string
target_file_path string
return void

SparkleRepoBase() public method

public SparkleRepoBase ( string path, SparkleConfig config ) : System
path string
config SparkleConfig
return System

SyncDown() public abstract method

public abstract SyncDown ( ) : bool
return bool

SyncUp() public abstract method

public abstract SyncUp ( ) : bool
return bool

Property Details

LocalPath public_oe property

public string LocalPath
return string

Name public_oe property

public string Name
return string

RemoteUrl public_oe property

public Uri,System RemoteUrl
return System.Uri

UseCustomWatcher public_oe static_oe property

public static bool UseCustomWatcher
return bool

local_config protected_oe property

protected SparkleConfig local_config
return SparkleConfig