Show / Hide Table of Contents

Class Strings

Localized string fetcher

Inheritance
System.Object
Strings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.CST.OAT.Utils
Assembly: OAT.dll
Syntax
public static class Strings

Properties

| Improve this Doc View Source

IsLoaded

If there is any data available in the internal dictionary

Declaration
public static bool IsLoaded { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Get(String)

Get the string at the key specified in the current locale

Declaration
public static string Get(string key)
Parameters
Type Name Description
System.String key

The key to get

Returns
Type Description
System.String

A string looked up from the table or the key itself if not present

| Improve this Doc View Source

Setup(String)

Load the specified locale's resources. Currently only "" is supported for English.

Declaration
public static void Setup(string locale = "")
Parameters
Type Name Description
System.String locale

The name of the locale

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX