Class FtpFeatureFunctionAttribute
Selects a function to be used to create the FEAT text.
Inheritance
FtpFeatureFunctionAttribute
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class FtpFeatureFunctionAttribute : Attribute, IFeatureInfo
Constructors
|
Improve this Doc
View Source
FtpFeatureFunctionAttribute(String)
Declaration
public FtpFeatureFunctionAttribute(string functionName)
Parameters
Type |
Name |
Description |
String |
functionName |
The name of the function to be executed.
|
Properties
|
Improve this Doc
View Source
Names
Declaration
[Obsolete("Features don't have names. Use an attribute that implements IFeatureInfo, like - for example - FtpFeatureTextAttribute.")]
public ISet<string> Names { get; }
Property Value
|
Improve this Doc
View Source
RequiresAuthentication
Declaration
[Obsolete("This requirement is automatically determined through the FTP command handler.")]
public bool RequiresAuthentication { get; }
Property Value
Methods
|
Improve this Doc
View Source
BuildInfo(IFtpConnection)
Declaration
[Obsolete("Use BuildInfo(object, IFtpConnection) instead.")]
public string BuildInfo(IFtpConnection connection)
Parameters
Returns
|
Improve this Doc
View Source
BuildInfo(Type, IFtpConnection)
Declaration
public IEnumerable<string> BuildInfo(Type reference, IFtpConnection connection)
Parameters
Returns
Implements