1 type derived from StaticResourceExtension
PresentationFramework (1)
System\Windows\Markup\BamlRecordReader.cs (1)
5658
internal class StaticResourceHolder :
StaticResourceExtension
7 instantiations of StaticResourceExtension
PresentationFramework (7)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1708
value = new
StaticResourceExtension
(param);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
9443
bamlType.DefaultConstructor = delegate() { return new System.Windows.
StaticResourceExtension
(); };
9448
return new System.Windows.
StaticResourceExtension
(
System\Windows\Markup\BamlRecordReader.cs (2)
1437
instance = new
StaticResourceExtension
(param);
2400
valueObject = new
StaticResourceExtension
(innerExtensionValue);
System\Windows\Markup\KnownTypes.cs (1)
1566
case KnownElements.StaticResourceExtension: o = new System.Windows.
StaticResourceExtension
(); break;
System\Windows\ResourceDictionary.cs (1)
1200
StaticResourceExtension staticResourceWorker = new
StaticResourceExtension
();
44 references to StaticResourceExtension
PresentationFramework (44)
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (14)
337
internal static LookupResult RequestLookupResult(
StaticResourceExtension
requester)
374
if (result.Requester.GetType() == typeof(
StaticResourceExtension
))
414
internal static void RevertRequest(
StaticResourceExtension
requester, bool success)
424
if (result.Requester.GetType() == typeof(
StaticResourceExtension
))
435
_resultCache = new Dictionary<WeakReferenceKey<
StaticResourceExtension
>, WeakReference<ResourceDictionary>>();
438
WeakReferenceKey<
StaticResourceExtension
> wrKey = new WeakReferenceKey<
StaticResourceExtension
>(requester);
505
List<WeakReferenceKey<
StaticResourceExtension
>> toRemove = null;
506
foreach (KeyValuePair<WeakReferenceKey<
StaticResourceExtension
>, WeakReference<ResourceDictionary>>
514
toRemove = new List<WeakReferenceKey<
StaticResourceExtension
>>();
522
foreach (WeakReferenceKey<
StaticResourceExtension
> wrKey in toRemove)
535
private static Dictionary<WeakReferenceKey<
StaticResourceExtension
>, WeakReference<ResourceDictionary>>
542
public
StaticResourceExtension
Requester { get; set; }
545
public LookupResult(
StaticResourceExtension
requester) { Requester = requester; }
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
697
case 603: t = () => typeof(
StaticResourceExtension
); break;
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
828
InjectPropertyAndFrameIfNeeded(_context.SchemaContext.GetXamlType(typeof(
StaticResourceExtension
)), 0);
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
684
= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(
StaticResourceExtension
)));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9441
typeof(System.Windows.
StaticResourceExtension
),
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
375
= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(
StaticResourceExtension
)));
System\Windows\Markup\BamlRecordReader.cs (5)
1849
StaticResourceExtension
staticResource = (
StaticResourceExtension
)GetCurrentObjectData();
1862
StaticResourceExtension
staticResource = (
StaticResourceExtension
)GetExtensionValue((IOptimizedMarkupExtension)srRecord, null);
2417
valueTypeName = typeof(
StaticResourceExtension
).FullName;
System\Windows\Markup\KnownTypes.cs (1)
6157
case KnownElements.StaticResourceExtension: t = typeof(System.Windows.
StaticResourceExtension
); break;
System\Windows\Markup\RestrictiveXamlXmlReader.cs (1)
216
typeof(System.Windows.
StaticResourceExtension
),
System\Windows\ResourceDictionary.cs (3)
1161
XamlType xamlTypeStaticResourceExtension = reader.SchemaContext.GetXamlType(typeof(
StaticResourceExtension
));
1200
StaticResourceExtension
staticResourceWorker = new StaticResourceExtension();
1264
private void SetOptimizedStaticResources(IList<object> staticResources, IServiceProvider serviceProvider,
StaticResourceExtension
staticResourceWorker)
System\Windows\Setter.cs (3)
241
if (me is
StaticResourceExtension
)
243
var
sr = me as
StaticResourceExtension
;
System\Windows\TemplateContent.cs (12)
413
if (xamlReader.Type.UnderlyingType == typeof(
StaticResourceExtension
))
682
StaticResourceExtension
staticResource = value as
StaticResourceExtension
;
695
if (staticResource.GetType() == typeof(
StaticResourceExtension
))
750
private
StaticResourceExtension
LoadTimeBindUnshareableStaticResource(Xaml.XamlReader xamlReader, XamlObjectWriter writer)
753
Debug.Assert(xamlReader.Type.UnderlyingType == typeof(
StaticResourceExtension
));
774
StaticResourceExtension
resource = writer.Result as
StaticResourceExtension
;
945
if (typeof(
StaticResourceExtension
).IsAssignableFrom(xamlReader.Type.UnderlyingType))
978
if (xamlReader.Value != null && typeof(
StaticResourceExtension
).IsAssignableFrom(xamlReader.Value.GetType()))
1117
else if ((value is
StaticResourceExtension
) || (value is StaticResourceHolder))
1171
!typeof(
StaticResourceExtension
).IsAssignableFrom(type))