Search Results for

    Show / Hide Table of Contents
    View Source

    Class LocalizedTextServiceSupplementaryFileSource

    Represents a supplementary file source for localized text services, allowing plugins and extensions to provide additional or overriding localization keys.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public class LocalizedTextServiceSupplementaryFileSource

    Constructors

    View Source

    LocalizedTextServiceSupplementaryFileSource(IFileInfo, bool)

    Initializes a new instance of the LocalizedTextServiceSupplementaryFileSource class.

    Declaration
    public LocalizedTextServiceSupplementaryFileSource(IFileInfo file, bool overwriteCoreKeys)
    Parameters
    Type Name Description
    IFileInfo file

    The file information for the supplementary localization file.

    bool overwriteCoreKeys

    If set to true, keys in this file will overwrite core localization keys.

    Properties

    View Source

    FileInfo

    Gets the file information for this supplementary localization file.

    Declaration
    public IFileInfo FileInfo { get; }
    Property Value
    Type Description
    IFileInfo
    View Source

    OverwriteCoreKeys

    Gets a value indicating whether keys in this file should overwrite core localization keys.

    Declaration
    public bool OverwriteCoreKeys { get; }
    Property Value
    Type Description
    bool
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX