Show / Hide Table of Contents

    Class BackgroundTaskLifetimeFeature

    Default implementation of IBackgroundTaskLifetimeFeature.

    Inheritance
    Object
    BackgroundTaskLifetimeFeature
    Implements
    IBackgroundTaskLifetimeFeature
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.Features.Impl
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public class BackgroundTaskLifetimeFeature : IBackgroundTaskLifetimeFeature

    Constructors

    | Improve this Doc View Source

    BackgroundTaskLifetimeFeature(IFtpCommandBase, FtpCommand, Func<CancellationToken, Task>, CancellationToken)

    Initializes a new instance of the BackgroundTaskLifetimeFeature class.

    Declaration
    public BackgroundTaskLifetimeFeature(IFtpCommandBase commandHandler, FtpCommand command, Func<CancellationToken, Task> backgroundTask, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IFtpCommandBase commandHandler

    The FTP command handler.

    FtpCommand command

    The FTP command to be run in the background.

    Func<CancellationToken, Task> backgroundTask

    The task that gets run in the background.

    CancellationToken cancellationToken

    The cancellation token.

    Properties

    | Improve this Doc View Source

    Command

    Declaration
    public FtpCommand Command { get; }
    Property Value
    Type Description
    FtpCommand
    | Improve this Doc View Source

    Handler

    Declaration
    public IFtpCommandBase Handler { get; }
    Property Value
    Type Description
    IFtpCommandBase
    | Improve this Doc View Source

    Task

    Declaration
    public Task Task { get; }
    Property Value
    Type Description
    Task

    Methods

    | Improve this Doc View Source

    Abort()

    Declaration
    public void Abort()

    Implements

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