MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / get

Method get

localization/Program.cs:41–44  ·  view source on GitHub ↗
(string lang)

Source from the content-addressed store, hash-verified

39
40 Dictionary<string, Info> simpleLoc = new();
41 Info get(string lang) {
42 if (!simpleLoc.TryGetValue(lang, out var dict)) { dict = new(); simpleLoc.Add(lang, dict); }
43 return dict;
44 }
45
46 foreach (var f_ in Directory.GetFiles(path, "*.json")) {
47

Callers 1

get_resident_sizeMethod · 0.45

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected