C# Класс withSIX.Sync.Core.Transfer.Protocols.Handlers.RsyncLauncher

Наследование: IRsyncLauncher
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DEFAULT_RSYNC_PARAMS string

Открытые методы

Метод Описание
RsyncLauncher ( IProcessManager processManager, IPathConfiguration configuration, RsyncOutputParser parser ) : System
Run ( string source, string destination, RsyncOptions options = null ) : ProcessExitResultWithOutput
RunAndProcess ( ITransferProgress progress, string source, string destination, CancellationToken token, RsyncOptions options = null ) : ProcessExitResultWithOutput
RunAndProcess ( ITransferProgress progress, string source, string destination, RsyncOptions options = null ) : ProcessExitResultWithOutput
RunAndProcessAsync ( ITransferProgress progress, string source, string destination, CancellationToken token, RsyncOptions options = null ) : Task
RunAndProcessAsync ( ITransferProgress progress, string source, string destination, RsyncOptions options = null ) : Task

Приватные методы

Метод Описание
BuildProcessInfo ( ITransferProgress progress, string source, string destination, RsyncOptions options ) : LaunchAndProcessInfo
GetArguments ( string source, string destination, RsyncOptions options ) : IEnumerable
GetProcessStartInfo ( string source, string destination, RsyncOptions options ) : ProcessStartInfo
HandlePath ( string path ) : string
JoinArgs ( string source, string destination, RsyncOptions options ) : string

Описание методов

RsyncLauncher() публичный Метод

public RsyncLauncher ( IProcessManager processManager, IPathConfiguration configuration, RsyncOutputParser parser ) : System
processManager IProcessManager
configuration IPathConfiguration
parser RsyncOutputParser
Результат System

Run() публичный Метод

public Run ( string source, string destination, RsyncOptions options = null ) : ProcessExitResultWithOutput
source string
destination string
options RsyncOptions
Результат withSIX.Core.Services.Infrastructure.ProcessExitResultWithOutput

RunAndProcess() публичный Метод

public RunAndProcess ( ITransferProgress progress, string source, string destination, CancellationToken token, RsyncOptions options = null ) : ProcessExitResultWithOutput
progress ITransferProgress
source string
destination string
token System.Threading.CancellationToken
options RsyncOptions
Результат withSIX.Core.Services.Infrastructure.ProcessExitResultWithOutput

RunAndProcess() публичный Метод

public RunAndProcess ( ITransferProgress progress, string source, string destination, RsyncOptions options = null ) : ProcessExitResultWithOutput
progress ITransferProgress
source string
destination string
options RsyncOptions
Результат withSIX.Core.Services.Infrastructure.ProcessExitResultWithOutput

RunAndProcessAsync() публичный Метод

public RunAndProcessAsync ( ITransferProgress progress, string source, string destination, CancellationToken token, RsyncOptions options = null ) : Task
progress ITransferProgress
source string
destination string
token System.Threading.CancellationToken
options RsyncOptions
Результат Task

RunAndProcessAsync() публичный Метод

public RunAndProcessAsync ( ITransferProgress progress, string source, string destination, RsyncOptions options = null ) : Task
progress ITransferProgress
source string
destination string
options RsyncOptions
Результат Task

Описание свойств

DEFAULT_RSYNC_PARAMS публичное статическое свойство

public static string DEFAULT_RSYNC_PARAMS
Результат string