C# Класс FubarDev.FtpServer.ListFormatters.FactsListFormatter

A formatter for the MLST command
Наследование: IListFormatter
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

Метод Описание
BuildFacts ( [ directoryEntry, [ entry ) : IReadOnlyList
BuildFacts ( [ parentEntry, [ currentEntry, TypeFact typeFact ) : IReadOnlyList
BuildLine ( [ facts, string entryName ) : string
FormatParentDirectoryEntry ( ) : string
FormatThisDirectoryEntry ( ) : string

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

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

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
Результат System

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

public Format ( IUnixFileSystemEntry entry, string name ) : string
entry IUnixFileSystemEntry
name string
Результат string