Show / Hide Table of Contents

    Class GenericFeatureInfo

    Generic feature information.

    Inheritance
    Object
    GenericFeatureInfo
    Implements
    IFeatureInfo
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    [Obsolete("Use an attribute that implements IFeatureInfo, like - for example - FtpFeatureTextAttribute.")]
    public class GenericFeatureInfo : IFeatureInfo

    Constructors

    | Improve this Doc View Source

    GenericFeatureInfo(String, Boolean, String[])

    Initializes a new instance of the GenericFeatureInfo class.

    Declaration
    [Obsolete("Use an attribute that implements IFeatureInfo, like - for example - FtpFeatureTextAttribute.")]
    public GenericFeatureInfo(string name, bool requiresAuthentication, params string[] additionalNames)
    Parameters
    Type Name Description
    String name

    The feature name.

    Boolean requiresAuthentication

    Indicates whether this extension requires an authenticated user.

    String[] additionalNames

    The additional feature names.

    | Improve this Doc View Source

    GenericFeatureInfo(String, Nullable<Func<IFtpConnection, String>>, Boolean, String[])

    Initializes a new instance of the GenericFeatureInfo class.

    Declaration
    [Obsolete("Use an attribute that implements IFeatureInfo, like - for example - FtpFeatureTextAttribute.")]
    public GenericFeatureInfo(string name, Func<IFtpConnection, string>? toString, bool requiresAuthentication, params string[] additionalNames)
    Parameters
    Type Name Description
    String name

    The feature name.

    Nullable<Func<IFtpConnection, String>> toString

    The function to use to create a FEAT string.

    Boolean requiresAuthentication

    Indicates whether this extension requires an authenticated user.

    String[] additionalNames

    The additional feature names.

    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.