IFileSystemReadOperations
Namespace: TagBites.IO.Operations
Assembly: TagBites.IO.dll
Product: TagBites.IO v. 2.0.0
Provides the read operations of a FileSystem.
public interface IFileSystemReadOperations : TagBites.IO.Operations.IFileSystemOperationsMethods
Section titled “Methods”GetLinkInfo(string)
Section titled “GetLinkInfo(string)”Returns information about a file/directory for the specified full name.
public virtual IFileSystemStructureLinkInfo GetLinkInfo(string fullName)Parameters
Section titled “Parameters”fullNamestring
The full path of the directory or file.
Returns
Section titled “Returns”A IFileSystemStructureLinkInfo representing information about a file/directory.
GetLinks(DirectoryLink, FileSystem.ListingOptions)
Section titled “GetLinks(DirectoryLink, FileSystem.ListingOptions)”Retrieves a collection of information about files and subdirectories that match the specified search options.
public virtual IList<IFileSystemStructureLinkInfo> GetLinks(DirectoryLink directory, FileSystem.ListingOptions options)Parameters
Section titled “Parameters”directoryDirectoryLink
The link to the searched directory.optionsFileSystem.ListingOptions
The options for matching against the names of directories and files.
Returns
Section titled “Returns”IList<IFileSystemStructureLinkInfo>
A collection of strongly typed IFileSystemStructureLinkInfo objects representing information about the files or subdirectories.
ReadFile(FileLink, Stream)
Section titled “ReadFile(FileLink, Stream)”Reads an existing file to stream
public virtual void ReadFile(FileLink file, Stream stream)