14 references to XamlDeferLoadAttribute
PresentationFramework (1)
System\Windows\TemplateContent.cs (1)
23
[
XamlDeferLoad
(typeof(TemplateContentLoader), typeof(FrameworkElement))]
System.Xaml.Tests (13)
System\Windows\Markup\XamlDeferLoadAttributeTests.cs (3)
16
var attribute = new
XamlDeferLoadAttribute
(loaderType, contentType);
26
Assert.Throws<ArgumentNullException>("loaderType", () => new
XamlDeferLoadAttribute
(null!, typeof(int)));
32
Assert.Throws<ArgumentNullException>("contentType", () => new
XamlDeferLoadAttribute
(typeof(int), null!));
System\Xaml\XamlMemberTests.cs (5)
407
GetCustomAttributesAction = (attributeType, inherit) => new object[] { new
XamlDeferLoadAttribute
(typeof(int), typeof(string)) }
429
GetCustomAttributesAction = (attributeType, inherit) => new object[] { new
XamlDeferLoadAttribute
(typeof(int), typeof(string)) }
541
[
XamlDeferLoad
(typeof(int), typeof(string))]
547
[
XamlDeferLoad
(null!, typeof(string))]
550
[
XamlDeferLoad
(typeof(int), null!)]
System\Xaml\XamlTypeTests.cs (5)
2340
GetCustomAttributesAction = (attributeType, inherit) => new object[] { new
XamlDeferLoadAttribute
(typeof(int), typeof(string)) }
2362
GetCustomAttributesAction = (attributeType, inherit) => new object[] { new
XamlDeferLoadAttribute
(typeof(int), typeof(string)) }
2498
[
XamlDeferLoad
(typeof(int), typeof(string))]
2508
[
XamlDeferLoad
(null!, typeof(string))]
2513
[
XamlDeferLoad
(null!, typeof(string))]