6 instantiations of BamlLocalizableResourceKey
PresentationFramework (6)
MS\Internal\Globalization\BamlTreeMap.cs (4)
202
key = new
BamlLocalizableResourceKey
(
232
key = new
BamlLocalizableResourceKey
(
248
key = new
BamlLocalizableResourceKey
(
359
new
BamlLocalizableResourceKey
(string.Empty, string.Empty, string.Empty),
MS\Internal\Globalization\BamlTreeUpdater.cs (2)
526
new
BamlLocalizableResourceKey
(tagUid, className, BamlConst.ContentSuffix, assemblyName),
635
new
BamlLocalizableResourceKey
(
46 references to BamlLocalizableResourceKey
PresentationFramework (46)
MS\Internal\Globalization\BamlTreeMap.cs (6)
74
internal BamlTreeNode MapKeyToBamlTreeNode(
BamlLocalizableResourceKey
key, BamlTree tree)
105
_keyToBamlNodeIndexMap = new Dictionary<
BamlLocalizableResourceKey
, int>(_tree.Size);
125
BamlLocalizableResourceKey
key = GetKey(currentNode);
191
internal static
BamlLocalizableResourceKey
GetKey(BamlTreeNode node)
193
BamlLocalizableResourceKey
key = null;
265
private Dictionary<
BamlLocalizableResourceKey
, int> _keyToBamlNodeIndexMap;
MS\Internal\Globalization\BamlTreeUpdater.cs (16)
46
List<KeyValuePair<
BamlLocalizableResourceKey
, BamlLocalizableResource>> deferredResources = new();
47
foreach (KeyValuePair<
BamlLocalizableResourceKey
, BamlLocalizableResource> item in dictionaryEnumerator)
62
KeyValuePair<
BamlLocalizableResourceKey
, BamlLocalizableResource> entry = deferredResources[i];
70
foreach (KeyValuePair<
BamlLocalizableResourceKey
, BamlLocalizableResource> item in dictionaryEnumerator)
72
BamlLocalizableResourceKey
key = item.Key;
139
private static bool ApplyChangeToBamlTree(
BamlLocalizableResourceKey
key, BamlLocalizableResource resource, BamlTreeUpdateMap treeMap)
233
BamlLocalizableResourceKey
key,
253
BamlLocalizableResourceKey
key,
399
BamlLocalizableResourceKey
key,
454
BamlLocalizableResourceKey
key,
592
BamlLocalizableResourceKey
key,
684
private readonly Dictionary<
BamlLocalizableResourceKey
, int> _keyToNewBamlNodeIndexMap;
692
_keyToNewBamlNodeIndexMap = new Dictionary<
BamlLocalizableResourceKey
, int>(8);
697
internal BamlTreeNode MapKeyToBamlTreeNode(
BamlLocalizableResourceKey
key)
713
internal bool IsNewBamlTreeNode(
BamlLocalizableResourceKey
key)
732
internal void AddBamlTreeNode(string uid,
BamlLocalizableResourceKey
key, BamlTreeNode node)
MS\Internal\Globalization\LocalizableResourceBuilder.cs (3)
27
internal BamlLocalizableResource BuildFromNode(
BamlLocalizableResourceKey
key, BamlTreeNode node)
137
internal bool TryGetContent(
BamlLocalizableResourceKey
key, BamlTreeNode currentNode, out string content)
223
BamlLocalizableResourceKey
key,
System\Windows\Markup\Localizer\BamlLocalizableResourceKey.cs (2)
98
public bool Equals(
BamlLocalizableResourceKey
other)
117
return Equals(other as
BamlLocalizableResourceKey
);
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (16)
52
public
BamlLocalizableResourceKey
Key
54
get => (
BamlLocalizableResourceKey
)Entry.Key;
126
public Dictionary<
BamlLocalizableResourceKey
, BamlLocalizableResource>.Enumerator GetEnumerator() => _dictionary.GetStructEnumerator();
141
_dictionary = new Dictionary<
BamlLocalizableResourceKey
, BamlLocalizableResource>();
148
internal Dictionary<
BamlLocalizableResourceKey
, BamlLocalizableResource>.Enumerator GetStructEnumerator()
179
public
BamlLocalizableResourceKey
RootElementKey
207
public BamlLocalizableResource this[
BamlLocalizableResourceKey
key]
226
public void Add(
BamlLocalizableResourceKey
key, BamlLocalizableResource value)
244
public void Remove(
BamlLocalizableResourceKey
key)
255
public bool Contains(
BamlLocalizableResourceKey
key)
267
internal bool TryGetValue(
BamlLocalizableResourceKey
key, [MaybeNullWhen(false)] out BamlLocalizableResource value)
309
foreach (KeyValuePair<
BamlLocalizableResourceKey
, BamlLocalizableResource> pair in _dictionary)
389
foreach (KeyValuePair<
BamlLocalizableResourceKey
, BamlLocalizableResource> pair in _dictionary)
402
internal void SetRootElementKey(
BamlLocalizableResourceKey
key)
410
private readonly Dictionary<
BamlLocalizableResourceKey
, BamlLocalizableResource> _dictionary;
411
private
BamlLocalizableResourceKey
_rootElementKey;
System\Windows\Markup\Localizer\BamlLocalizerErrorNotifyEventArgs.cs (3)
12
BamlLocalizableResourceKey
_key; // The key of the localizable resources related to the error
15
internal BamlLocalizerErrorNotifyEventArgs(
BamlLocalizableResourceKey
key, BamlLocalizerError error)
25
public
BamlLocalizableResourceKey
Key { get { return _key; } }