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)
16var attribute = new XamlDeferLoadAttribute(loaderType, contentType); 26Assert.Throws<ArgumentNullException>("loaderType", () => new XamlDeferLoadAttribute(null!, typeof(int))); 32Assert.Throws<ArgumentNullException>("contentType", () => new XamlDeferLoadAttribute(typeof(int), null!));
System\Xaml\XamlMemberTests.cs (5)
407GetCustomAttributesAction = (attributeType, inherit) => new object[] { new XamlDeferLoadAttribute(typeof(int), typeof(string)) } 429GetCustomAttributesAction = (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)
2340GetCustomAttributesAction = (attributeType, inherit) => new object[] { new XamlDeferLoadAttribute(typeof(int), typeof(string)) } 2362GetCustomAttributesAction = (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))]