C# Class FubarDev.FtpServer.ListFormatters.FactsListFormatter

A formatter for the MLST command
Inheritance: IListFormatter
Afficher le fichier Open project: FubarDevelopment/FtpServer Class Usage Examples

Méthodes publiques

Méthode Description
FactsListFormatter ( FubarDev.FtpServer.AccountManagement.FtpUser user, DirectoryListingEnumerator enumerator, ISet activeFacts, bool absoluteName ) : System

Initializes a new instance of the FactsListFormatter class.

Format ( IUnixFileSystemEntry entry, string name ) : string

Private Methods

Méthode Description
BuildFacts ( [ directoryEntry, [ entry ) : IReadOnlyList
BuildFacts ( [ parentEntry, [ currentEntry, TypeFact typeFact ) : IReadOnlyList
BuildLine ( [ facts, string entryName ) : string
FormatParentDirectoryEntry ( ) : string
FormatThisDirectoryEntry ( ) : string

Method Details

FactsListFormatter() public méthode

Initializes a new instance of the FactsListFormatter class.
public FactsListFormatter ( FubarDev.FtpServer.AccountManagement.FtpUser user, DirectoryListingEnumerator enumerator, ISet activeFacts, bool absoluteName ) : System
user FubarDev.FtpServer.AccountManagement.FtpUser The user to create this formatter for
enumerator DirectoryListingEnumerator The enumerator for the directory listing to format
activeFacts ISet The active facts to return for the entries
absoluteName bool Returns an absolute entry name
Résultat System

Format() public méthode

public Format ( IUnixFileSystemEntry entry, string name ) : string
entry IUnixFileSystemEntry
name string
Résultat string