Show / Hide Table of Contents

    Class DefaultFtpCatalogLoader

    The default implementation of the IFtpCatalogLoader.

    Inheritance
    Object
    DefaultFtpCatalogLoader
    Implements
    IFtpCatalogLoader
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.Localization
    Assembly: FubarDev.FtpServer.dll
    Syntax
    public class DefaultFtpCatalogLoader : IFtpCatalogLoader

    Properties

    | Improve this Doc View Source

    DefaultCatalog

    Gets the catalog for the DefaultLanguage.

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

    DefaultLanguage

    Gets the default language.

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

    Methods

    | Improve this Doc View Source

    GetSupportedLanguages()

    Gets all supported languages.

    Declaration
    public 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
    public 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.

    Implements

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