7 instantiations of XamlDeferLoadAttribute
PresentationFramework (1)
System\Windows\TemplateContent.cs (1)
27
[
XamlDeferLoad
(typeof(TemplateContentLoader), typeof(FrameworkElement))]
System.Xaml.Tests (6)
System\Windows\Markup\XamlDeferLoadAttributeTests.cs (6)
17
var attribute = new
XamlDeferLoadAttribute
(loaderType, contentType);
27
Assert.Throws<ArgumentNullException>("loaderType", () => new
XamlDeferLoadAttribute
(null!, typeof(int)));
33
Assert.Throws<ArgumentNullException>("contentType", () => new
XamlDeferLoadAttribute
(typeof(int), null!));
41
var attribute = new
XamlDeferLoadAttribute
(loaderType, contentType);
51
Assert.Throws<ArgumentNullException>("loaderType", () => new
XamlDeferLoadAttribute
(null!, "contentType"));
57
Assert.Throws<ArgumentNullException>("contentType", () => new
XamlDeferLoadAttribute
("loaderType", null!));
7 references to XamlDeferLoadAttribute
System.Xaml (5)
System\Xaml\Schema\Reflector.cs (3)
252
Debug.Assert(attributeType == typeof(
XamlDeferLoadAttribute
));
254
XamlDeferLoadAttribute
tca = (
XamlDeferLoadAttribute
)attributes[0];
System\Xaml\XamlMember.cs (1)
530
Type[] loaderTypes = _reflector.GetAttributeTypes(typeof(
XamlDeferLoadAttribute
), 2);
System\Xaml\XamlType.cs (1)
813
Type[] loaderTypes = _reflector.GetAttributeTypes(typeof(
XamlDeferLoadAttribute
), 2);
System.Xaml.Tests (2)
System\Windows\Markup\XamlDeferLoadAttributeTests.cs (2)
17
var
attribute = new XamlDeferLoadAttribute(loaderType, contentType);
41
var
attribute = new XamlDeferLoadAttribute(loaderType, contentType);