27 instantiations of XamlDeferLoadAttribute
PresentationFramework (1)
System\Windows\TemplateContent.cs (1)
24[XamlDeferLoad(typeof(TemplateContentLoader), typeof(FrameworkElement))]
System.Xaml.Tests (26)
System\Windows\Markup\XamlDeferLoadAttributeTests.cs (6)
16var attribute = new XamlDeferLoadAttribute(loaderType, contentType); 26Assert.Throws<ArgumentNullException>("loaderType", () => new XamlDeferLoadAttribute(null!, typeof(int))); 32Assert.Throws<ArgumentNullException>("contentType", () => new XamlDeferLoadAttribute(typeof(int), null!)); 40var attribute = new XamlDeferLoadAttribute(loaderType, contentType); 50Assert.Throws<ArgumentNullException>("loaderType", () => new XamlDeferLoadAttribute(null!, "contentType")); 56Assert.Throws<ArgumentNullException>("contentType", () => new XamlDeferLoadAttribute("loaderType", null!));
System\Xaml\XamlMemberTests.cs (10)
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))] 544[XamlDeferLoad("System.Int32", "System.String")] 547[XamlDeferLoad(null!, typeof(string))] 550[XamlDeferLoad(typeof(int), null!)] 553[XamlDeferLoad(null!, "System.String")] 556[XamlDeferLoad("System.Int32", null!)] 559[XamlDeferLoad("NoSuchType", "System.String")] 562[XamlDeferLoad("System.Int32", "NoSuchType")]
System\Xaml\XamlTypeTests.cs (10)
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))] 2503[XamlDeferLoad("System.Int32", "System.String")] 2508[XamlDeferLoad(null!, typeof(string))] 2513[XamlDeferLoad(null!, typeof(string))] 2518[XamlDeferLoad(null!, "System.String")] 2523[XamlDeferLoad("System.Int32", null!)] 2528[XamlDeferLoad("NoSuchType", "System.String")] 2533[XamlDeferLoad("System.Int32", "NoSuchType")]
8 references to XamlDeferLoadAttribute
System.Xaml (5)
System\Xaml\Schema\Reflector.cs (3)
274Debug.Assert(attributeType == typeof(XamlDeferLoadAttribute)); 276XamlDeferLoadAttribute tca = (XamlDeferLoadAttribute)attributes[0];
System\Xaml\XamlMember.cs (1)
550Type[] loaderTypes = _reflector.GetAttributeTypes(typeof(XamlDeferLoadAttribute), 2);
System\Xaml\XamlType.cs (1)
863Type[] loaderTypes = _reflector.GetAttributeTypes(typeof(XamlDeferLoadAttribute), 2);
System.Xaml.Tests (3)
System\Windows\Markup\XamlDeferLoadAttributeTests.cs (2)
16var attribute = new XamlDeferLoadAttribute(loaderType, contentType); 40var attribute = new XamlDeferLoadAttribute(loaderType, contentType);
System\Xaml\XamlTypeTests.cs (1)
2466ConstructorResult = typeof(XamlDeferLoadAttribute).GetConstructors()[0],