C# 클래스 FubarDev.FtpServer.ListFormatters.FactsListFormatter

A formatter for the MLST command
상속: IListFormatter
파일 보기 프로젝트 열기: FubarDevelopment/FtpServer 1 사용 예제들

공개 메소드들

메소드 설명
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