C# Класс CmisSync.Lib.PathMatcher.PathMatcher

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

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

Метод Описание
CanCreateLocalPath ( IDocument remoteDocument ) : bool

Determines whether this instance can create local path for specified remotePath.

CanCreateLocalPath ( IFolder remoteFolder ) : bool

Determines whether this instance can create local path for specified remotePath.

CanCreateLocalPath ( string remotePath ) : bool

Determines whether this instance can create local path for specified remotePath.

CanCreateRemotePath ( DirectoryInfo localDirectory ) : bool

Determines whether this instance can create remote path for specified localFile.

CanCreateRemotePath ( FileInfo localFile ) : bool

Determines whether this instance can create remote path for specified localFile.

CanCreateRemotePath ( string localPath ) : bool

Determines whether this instance can create remote path for specified localFile.

CreateLocalPath ( IDocument remoteDocument ) : string

Creates the corresponding local path.

CreateLocalPath ( IFolder remoteFolder ) : string

Creates the corresponding local path.

CreateLocalPath ( string remotePath ) : string

Creates the corresponding local path.

CreateLocalPaths ( IDocument remoteDocument ) : List

Creates the corresponding local paths.

CreateRemotePath ( DirectoryInfo localDirectory ) : string

Creates the remote pat.

CreateRemotePath ( FileInfo localFile ) : string

Creates the corresponding remote path.

CreateRemotePath ( string localPath ) : string

Creates the corresponding remote path.

GetRelativeLocalPath ( string localPath ) : string

Gets the relative local path.

Matches ( IDirectoryInfo localFolder, IFolder remoteFolder ) : bool

Matches the specified localPath and remotePath.

Matches ( string localPath, IFolder remoteFolder ) : bool

Matches the specified localPath and remotePath.

Matches ( string localPath, string remotePath ) : bool

Matches the specified localPath and remotePath.

PathMatcher ( string localTargetRootPath, string remoteTargetRootPath ) : System

Initializes a new instance of the PathMatcher class.

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

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

Determines whether this instance can create local path for specified remotePath.
public CanCreateLocalPath ( IDocument remoteDocument ) : bool
remoteDocument IDocument Remote document.
Результат bool

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

Determines whether this instance can create local path for specified remotePath.
public CanCreateLocalPath ( IFolder remoteFolder ) : bool
remoteFolder IFolder Remote folder.
Результат bool

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

Determines whether this instance can create local path for specified remotePath.
public CanCreateLocalPath ( string remotePath ) : bool
remotePath string Remote path.
Результат bool

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

Determines whether this instance can create remote path for specified localFile.
public CanCreateRemotePath ( DirectoryInfo localDirectory ) : bool
localDirectory System.IO.DirectoryInfo Local directory.
Результат bool

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

Determines whether this instance can create remote path for specified localFile.
public CanCreateRemotePath ( FileInfo localFile ) : bool
localFile System.IO.FileInfo Local file.
Результат bool

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

Determines whether this instance can create remote path for specified localFile.
public CanCreateRemotePath ( string localPath ) : bool
localPath string Local path.
Результат bool

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

Creates the corresponding local path.
public CreateLocalPath ( IDocument remoteDocument ) : string
remoteDocument IDocument Remote document.
Результат string

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

Creates the corresponding local path.
public CreateLocalPath ( IFolder remoteFolder ) : string
remoteFolder IFolder Remote folder.
Результат string

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

Creates the corresponding local path.
public CreateLocalPath ( string remotePath ) : string
remotePath string Remote path.
Результат string

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

Creates the corresponding local paths.
public CreateLocalPaths ( IDocument remoteDocument ) : List
remoteDocument IDocument Remote document.
Результат List

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

Creates the remote pat.
public CreateRemotePath ( DirectoryInfo localDirectory ) : string
localDirectory System.IO.DirectoryInfo Local directory.
Результат string

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

Creates the corresponding remote path.
public CreateRemotePath ( FileInfo localFile ) : string
localFile System.IO.FileInfo Local file.
Результат string

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

Creates the corresponding remote path.
public CreateRemotePath ( string localPath ) : string
localPath string Local path.
Результат string

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

Gets the relative local path.
public GetRelativeLocalPath ( string localPath ) : string
localPath string Local path.
Результат string

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

Matches the specified localPath and remotePath.
public Matches ( IDirectoryInfo localFolder, IFolder remoteFolder ) : bool
localFolder IDirectoryInfo Local folder.
remoteFolder IFolder Remote folder.
Результат bool

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

Matches the specified localPath and remotePath.
public Matches ( string localPath, IFolder remoteFolder ) : bool
localPath string Local path.
remoteFolder IFolder Remote folder.
Результат bool

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

Matches the specified localPath and remotePath.
public Matches ( string localPath, string remotePath ) : bool
localPath string Local path.
remotePath string Remote path.
Результат bool

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

Initializes a new instance of the PathMatcher class.
public PathMatcher ( string localTargetRootPath, string remoteTargetRootPath ) : System
localTargetRootPath string Local target root path.
remoteTargetRootPath string Remote target root path.
Результат System