7 instantiations of XamlDeferLoadAttribute
PresentationFramework (1)
System\Windows\TemplateContent.cs (1)
24
[
XamlDeferLoad
(typeof(TemplateContentLoader), typeof(FrameworkElement))]
System.Xaml.Tests (6)
System\Windows\Markup\XamlDeferLoadAttributeTests.cs (6)
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!));
40
var attribute = new
XamlDeferLoadAttribute
(loaderType, contentType);
50
Assert.Throws<ArgumentNullException>("loaderType", () => new
XamlDeferLoadAttribute
(null!, "contentType"));
56
Assert.Throws<ArgumentNullException>("contentType", () => new
XamlDeferLoadAttribute
("loaderType", null!));
7 references to XamlDeferLoadAttribute
System.Xaml (5)
System\Xaml\Schema\Reflector.cs (3)
250
Debug.Assert(attributeType == typeof(
XamlDeferLoadAttribute
));
252
XamlDeferLoadAttribute
tca = (
XamlDeferLoadAttribute
)attributes[0];
System\Xaml\XamlMember.cs (1)
527
Type[] loaderTypes = _reflector.GetAttributeTypes(typeof(
XamlDeferLoadAttribute
), 2);
System\Xaml\XamlType.cs (1)
810
Type[] loaderTypes = _reflector.GetAttributeTypes(typeof(
XamlDeferLoadAttribute
), 2);
System.Xaml.Tests (2)
System\Windows\Markup\XamlDeferLoadAttributeTests.cs (2)
16
var
attribute = new XamlDeferLoadAttribute(loaderType, contentType);
40
var
attribute = new XamlDeferLoadAttribute(loaderType, contentType);