C# Класс Bari.Plugins.FSRepository.Model.LocalFileSystemRepositoryAccess

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

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

Метод Описание
Copy ( string path, IFileSystemDirectory targetDir, string targetFileName ) : void

Copies a file from the FS repository to a given target directory

Exists ( string path ) : bool

Checks if the repository contains a valid file in the given path

GetDirectory ( string path ) : IFileSystemDirectory

Gets the directory for a given path (the path's file name part is not used)

ListFiles ( string path ) : IEnumerable

Lists all the files in the given directory inside the FS repository

LocalFileSystemRepositoryAccess ( [ suiteRoot ) : System.Collections.Generic

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

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

Copies a file from the FS repository to a given target directory
public Copy ( string path, IFileSystemDirectory targetDir, string targetFileName ) : void
path string Path to the file in the FS repository
targetDir IFileSystemDirectory Target directory
targetFileName string Target file name
Результат void

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

Checks if the repository contains a valid file in the given path
public Exists ( string path ) : bool
path string Path to the file
Результат bool

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

Gets the directory for a given path (the path's file name part is not used)
public GetDirectory ( string path ) : IFileSystemDirectory
path string Path to the file
Результат IFileSystemDirectory

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

Lists all the files in the given directory inside the FS repository
public ListFiles ( string path ) : IEnumerable
path string Directory path
Результат IEnumerable

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

public LocalFileSystemRepositoryAccess ( [ suiteRoot ) : System.Collections.Generic
suiteRoot [
Результат System.Collections.Generic