2 instantiations of BamlLocalizableResource
PresentationFramework (2)
MS\Internal\Globalization\LocalizableResourceBuilder.cs (1)
116
resource = new
BamlLocalizableResource
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
391
BamlLocalizableResource resourceCopy = pair.Value == null ? null : new
BamlLocalizableResource
(pair.Value);
26 references to BamlLocalizableResource
PresentationFramework (26)
HashHelper.cs (1)
19
typeof(System.Windows.Markup.Localizer.
BamlLocalizableResource
), // bug 1612118
MS\Internal\Globalization\BamlTreeMap.cs (1)
170
BamlLocalizableResource
resource = _localizableResourceBuilder.BuildFromNode(key, currentNode);
MS\Internal\Globalization\BamlTreeUpdater.cs (7)
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)
73
BamlLocalizableResource
resource = item.Value;
139
private static bool ApplyChangeToBamlTree(BamlLocalizableResourceKey key,
BamlLocalizableResource
resource, BamlTreeUpdateMap treeMap)
211
if (treeMap.LocalizationDictionary.TryGetValue(key, out
BamlLocalizableResource
value))
MS\Internal\Globalization\LocalizableResourceBuilder.cs (2)
27
internal
BamlLocalizableResource
BuildFromNode(BamlLocalizableResourceKey key, BamlTreeNode node)
37
BamlLocalizableResource
resource = null;
System\Windows\Markup\Localizer\BamlLocalizableResource.cs (3)
55
internal BamlLocalizableResource(
BamlLocalizableResource
other)
167
BamlLocalizableResource
otherResource = other as
BamlLocalizableResource
;
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (12)
60
public
BamlLocalizableResource
Value
62
get => (
BamlLocalizableResource
)Entry.Value;
126
public Dictionary<BamlLocalizableResourceKey,
BamlLocalizableResource
>.Enumerator GetEnumerator() => _dictionary.GetStructEnumerator();
141
_dictionary = new Dictionary<BamlLocalizableResourceKey,
BamlLocalizableResource
>();
148
internal Dictionary<BamlLocalizableResourceKey,
BamlLocalizableResource
>.Enumerator GetStructEnumerator()
207
public
BamlLocalizableResource
this[BamlLocalizableResourceKey key]
226
public void Add(BamlLocalizableResourceKey key,
BamlLocalizableResource
value)
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)
391
BamlLocalizableResource
resourceCopy = pair.Value == null ? null : new BamlLocalizableResource(pair.Value);
410
private readonly Dictionary<BamlLocalizableResourceKey,
BamlLocalizableResource
> _dictionary;