Show / Hide Table of Contents

    Class GoogleDriveFtpServerBuilderExtensions

    Extension methods for IFtpServerBuilder.

    Inheritance
    Object
    GoogleDriveFtpServerBuilderExtensions
    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.FileSystem.GoogleDrive.dll
    Syntax
    public static class GoogleDriveFtpServerBuilderExtensions

    Methods

    | Improve this Doc View Source

    UseGoogleDrive(IFtpServerBuilder, IConfigurableHttpClientInitializer, String)

    Uses Google Drive as file system.

    Declaration
    public static IFtpServerBuilder UseGoogleDrive(this IFtpServerBuilder builder, IConfigurableHttpClientInitializer httpClientInitializer, string applicationName = "FTP Server")
    Parameters
    Type Name Description
    IFtpServerBuilder builder

    The server builder used to configure the FTP server.

    Google.Apis.Http.IConfigurableHttpClientInitializer httpClientInitializer

    The HTTP client initializer.

    String applicationName

    The application name.

    Returns
    Type Description
    IFtpServerBuilder

    the server builder used to configure the FTP server.

    | Improve this Doc View Source

    UseGoogleDrive(IFtpServerBuilder, Func<IServiceProvider, DriveService>)

    Uses Google Drive as file system.

    Declaration
    public static IFtpServerBuilder UseGoogleDrive(this IFtpServerBuilder builder, Func<IServiceProvider, DriveService> createDriveService)
    Parameters
    Type Name Description
    IFtpServerBuilder builder

    The server builder used to configure the FTP server.

    Func<IServiceProvider, Google.Apis.Drive.v3.DriveService> createDriveService

    Create the Google.Apis.Drive.v3.DriveService to be used to access the Google Drive API.

    Returns
    Type Description
    IFtpServerBuilder

    the server builder used to configure the FTP server.

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