Show / Hide Table of Contents

    Class FtpFeatureFunctionAttribute

    Selects a function to be used to create the FEAT text.

    Inheritance
    Object
    Attribute
    FtpFeatureFunctionAttribute
    Implements
    IFeatureInfo
    Inherited Members
    Attribute.Equals(Object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, Boolean)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, Boolean)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, Boolean)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, Boolean)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, Boolean)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, Boolean)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, Boolean)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, Boolean)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, Boolean)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, Boolean)
    Attribute.Match(Object)
    Attribute.TypeId
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    public class FtpFeatureFunctionAttribute : Attribute, IFeatureInfo
    Remarks

    The function must be accessible with GetDeclaredMethod(String) and must have the following signature: static string functionName(IFtpConnection).

    Constructors

    | Improve this Doc View Source

    FtpFeatureFunctionAttribute(String)

    Initializes a new instance of the FtpFeatureFunctionAttribute class.

    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
    Type Description
    ISet<String>
    | Improve this Doc View Source

    RequiresAuthentication

    Declaration
    [Obsolete("This requirement is automatically determined through the FTP command handler.")]
    public bool RequiresAuthentication { get; }
    Property Value
    Type Description
    Boolean

    Methods

    | Improve this Doc View Source

    BuildInfo(IFtpConnection)

    Declaration
    [Obsolete("Use BuildInfo(object, IFtpConnection) instead.")]
    public string BuildInfo(IFtpConnection connection)
    Parameters
    Type Name Description
    IFtpConnection connection
    Returns
    Type Description
    String
    | Improve this Doc View Source

    BuildInfo(Type, IFtpConnection)

    Declaration
    public IEnumerable<string> BuildInfo(Type reference, IFtpConnection connection)
    Parameters
    Type Name Description
    Type reference
    IFtpConnection connection
    Returns
    Type Description
    IEnumerable<String>

    Implements

    IFeatureInfo
    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.