Class FactsListFormatter
A formatter for the MLST command.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.ListFormatters
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public class FactsListFormatter : IListFormatter
Constructors
| Improve this Doc View SourceFactsListFormatter(IFtpUser, DirectoryListingEnumerator, ISet<String>, Boolean)
Initializes a new instance of the FactsListFormatter class.
Declaration
[Obsolete("Use the overload with ClaimsPrincipal.")]
public FactsListFormatter(IFtpUser user, DirectoryListingEnumerator enumerator, ISet<string> activeFacts, bool absoluteName)
Parameters
| Type | Name | Description |
|---|---|---|
| IFtpUser | user | The user to create this formatter for. |
| DirectoryListingEnumerator | enumerator | The enumerator for the directory listing to format. |
| ISet<String> | activeFacts | The active facts to return for the entries. |
| Boolean | absoluteName | Returns an absolute entry name. |
FactsListFormatter(ClaimsPrincipal, DirectoryListingEnumerator, ISet<String>, Boolean)
Initializes a new instance of the FactsListFormatter class.
Declaration
public FactsListFormatter(ClaimsPrincipal user, DirectoryListingEnumerator enumerator, ISet<string> activeFacts, bool absoluteName)
Parameters
| Type | Name | Description |
|---|---|---|
| ClaimsPrincipal | user | The user to create this formatter for. |
| DirectoryListingEnumerator | enumerator | The enumerator for the directory listing to format. |
| ISet<String> | activeFacts | The active facts to return for the entries. |
| Boolean | absoluteName | Returns an absolute entry name. |
Methods
| Improve this Doc View SourceFormat(IUnixFileSystemEntry, Nullable<String>)
Declaration
public string Format(IUnixFileSystemEntry entry, string? name)
Parameters
| Type | Name | Description |
|---|---|---|
| IUnixFileSystemEntry | entry | |
| Nullable<String> | name |
Returns
| Type | Description |
|---|---|
| String |