C# Class Sparkles.BaseRepository

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

Méthodes publiques

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

Protected Properties

Свойство Type Description
StorageType StorageType
local_config Configuration
status_message string

Private Properties

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

Méthodes publiques

Méthode Description
BaseRepository ( string path, Configuration config ) : System
Dispose ( ) : void
ForceRetry ( ) : void
GetChangeSets ( ) : List
GetChangeSets ( string path ) : List
Initialize ( ) : void
OnFileActivity ( FileSystemEventArgs args ) : void
Pause ( ) : void
RestoreFile ( string path, string revision, string target_file_path ) : void
Resume ( string message ) : void
SyncDown ( ) : bool
SyncUp ( ) : bool

Méthodes protégées

Méthode Description
OnConflictResolved ( ) : void
OnProgressChanged ( double percentage, double speed, string information ) : void

Private Methods

Méthode Description
CalculateSize ( DirectoryInfo parent ) : long
CreateListener ( ) : void
ListenerAnnouncementReceivedDelegate ( Announcement announcement ) : void
ListenerConnectedDelegate ( ) : void
ListenerDisconnectedDelegate ( DisconnectReason reason ) : void
RemoteTimerElapsedDelegate ( object sender, EventArgs args ) : void
SyncDownBase ( ) : void
SyncUpBase ( ) : void

Method Details

BaseRepository() public méthode

public BaseRepository ( string path, Configuration config ) : System
path string
config Configuration
Résultat System

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 percentage, double speed, string information ) : void
percentage double
speed double
information string
Résultat void

Pause() public méthode

public Pause ( ) : void
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

Resume() public méthode

public Resume ( string message ) : void
message string
Résultat void

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

StorageType protected_oe property

protected StorageType StorageType
Résultat StorageType

UseCustomWatcher public_oe static_oe property

public static bool UseCustomWatcher
Résultat bool

local_config protected_oe property

protected Configuration,Sparkles local_config
Résultat Configuration

status_message protected_oe property

protected string status_message
Résultat string