Template10.Services.ResourcesService 1.0.1

dotnet add package Template10.Services.ResourcesService --version 1.0.1                
NuGet\Install-Package Template10.Services.ResourcesService -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Template10.Services.ResourcesService" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Template10.Services.ResourcesService --version 1.0.1                
#r "nuget: Template10.Services.ResourcesService, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Template10.Services.ResourcesService as a Cake Addin
#addin nuget:?package=Template10.Services.ResourcesService&version=1.0.1

// Install Template10.Services.ResourcesService as a Cake Tool
#tool nuget:?package=Template10.Services.ResourcesService&version=1.0.1                


The ResourcesService provides simplified access to application resources.

public interface IResourceService

    /// <summary> 
    /// Set language/culture of application by passing language string 
    /// </summary> 
    /// <param name="language"> language (example: "en-US")</param> 
    void SetLocale(string language);

    /// <summary> 
    /// Set language/culture of application by passing CultureInfo object 
    /// </summary> 
    /// <param name="culture">CultureInfo object</param> 
    void SetLocale(CultureInfo culture);

    /// <summary> 
    /// Get a localized string by key 
    /// </summary> 
    /// <param name="key">The key</param> 
    /// <returns></returns> 
    string GetLocalizedString(string key, string fallback = null);

    bool TryGetLocalizedString(string key, out string value);
    /// <summary> 
    /// Get a localized string by Uri 
    /// </summary> 
    /// <param name="key">The key</param> 
    /// <returns></returns> 
    string GetLocalizedString(Uri uri, string fallback = null);

    /// <summary> 
    /// Supported languages 
    /// </summary> 
    IReadOnlyList<string> SupportedLanguages { get; }

    /// <summary> 
    /// The current language of app 
    /// </summary> 
    string CurrentLanguage { get; set; }
Product Compatible and additional computed target framework versions.
Universal Windows Platform uap10.0.16299 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 2,159 10/5/2019