Table of Contents

Class Lexicon

Namespace
Shift.Sdk.UI.Help
Assembly
Shift.Sdk.dll
public class Lexicon
Inheritance
Lexicon
Inherited Members
Extension Methods

Constructors

Lexicon()

public Lexicon()

Methods

AddEntry(string, string, string)

public void AddEntry(string key, string language, string display)

Parameters

key string
language string
display string

FromJson(string)

public static Lexicon FromJson(string json)

Parameters

json string

Returns

Lexicon

GetDisplay(string, string)

public string GetDisplay(string key, string language)

Parameters

key string
language string

Returns

string

GetDisplays(string)

public Dictionary<string, string> GetDisplays(string key)

Parameters

key string

Returns

Dictionary<string, string>

GetKeys()

public IEnumerable<string> GetKeys()

Returns

IEnumerable<string>

GetRawEntries()

public Dictionary<string, Dictionary<string, string>> GetRawEntries()

Returns

Dictionary<string, Dictionary<string, string>>

LoadFromFile(string)

public static Lexicon LoadFromFile(string filePath)

Parameters

filePath string

Returns

Lexicon

SaveToFile(string, bool)

public void SaveToFile(string filePath, bool indented = true)

Parameters

filePath string
indented bool

ToJson(bool)

public string ToJson(bool indented = true)

Parameters

indented bool

Returns

string