Show / Hide Table of Contents

    Interface IFtpCatalogLoader

    Loads the catalog for a given language.

    Namespace: FubarDev.FtpServer.Localization
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public interface IFtpCatalogLoader

    Properties

    | Improve this Doc View Source

    DefaultCatalog

    Gets the catalog for the DefaultLanguage.

    Declaration
    ICatalog DefaultCatalog { get; }
    Property Value
    Type Description
    NGettext.ICatalog
    | Improve this Doc View Source

    DefaultLanguage

    Gets the default language.

    Declaration
    CultureInfo DefaultLanguage { get; }
    Property Value
    Type Description
    CultureInfo

    Methods

    | Improve this Doc View Source

    GetSupportedLanguages()

    Gets all supported languages.

    Declaration
    IReadOnlyCollection<string> GetSupportedLanguages()
    Returns
    Type Description
    IReadOnlyCollection<String>

    The collection of all supported languages.

    | Improve this Doc View Source

    LoadAsync(CultureInfo, CancellationToken)

    Loads the catalog for a given language.

    Declaration
    Task<ICatalog> LoadAsync(CultureInfo language, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    CultureInfo language

    The language to load the catalog for.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task<NGettext.ICatalog>

    The loaded catalog.

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