Show / Hide Table of Contents

    Interface IFtpDataConnectionValidator

    Interface for FTP data connection validation.

    Namespace: FubarDev.FtpServer.DataConnection
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public interface IFtpDataConnectionValidator

    Methods

    | Improve this Doc View Source

    ValidateAsync(IFtpConnection, IFtpDataConnectionFeature, IFtpDataConnection, CancellationToken)

    Checks if the FTP data connection is valid.

    Declaration
    Task<ValidationResult? > ValidateAsync(IFtpConnection connection, IFtpDataConnectionFeature dataConnectionFeature, IFtpDataConnection dataConnection, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IFtpConnection connection

    The FTP connection that created the data connection.

    IFtpDataConnectionFeature dataConnectionFeature

    The FTP data connection feature that crated the data connection.

    IFtpDataConnection dataConnection

    The created data connection that needs to be validated.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task<Nullable<ValidationResult>>

    The task returning the validation result.

    • 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.