1 type derived from ComponentWithInjectProperties
Microsoft.AspNetCore.Components.Tests (1)
ComponentFactoryTest.cs (1)
573private class DerivedComponent : ComponentWithInjectProperties
7 instantiations of ComponentWithInjectProperties
Microsoft.AspNetCore.Components.Tests (7)
ComponentFactoryTest.cs (7)
142var resolvedComponent = new ComponentWithInjectProperties(); 174var resolvedComponent = new ComponentWithInjectProperties(); 192var resolvedComponent = new ComponentWithInjectProperties(); 216var resolvedComponent = new ComponentWithInjectProperties(); 239var resolvedComponent = new ComponentWithInjectProperties(); 395var component = new ComponentWithInjectProperties(); 449var component = new ComponentWithInjectProperties();
30 references to ComponentWithInjectProperties
Microsoft.AspNetCore.Components.Tests (30)
ComponentFactoryTest.cs (30)
47var factory = new ComponentFactory(new CustomComponentActivator<ComponentWithInjectProperties>(), new DefaultComponentPropertyActivator(), new TestRenderer()); 54var component = Assert.IsType<ComponentWithInjectProperties>(instance); // Custom activator returns a different type 96Assert.NotNull(((ComponentWithInjectProperties)component).Property4); 124var componentType = typeof(ComponentWithInjectProperties); 134Assert.IsType<ComponentWithInjectProperties>(instance); 142var resolvedComponent = new ComponentWithInjectProperties(); 150var instance = (ComponentWithInjectProperties)factory.InstantiateComponent(serviceProvider, componentType, null, 1234); 174var resolvedComponent = new ComponentWithInjectProperties(); 192var resolvedComponent = new ComponentWithInjectProperties(); 201var instance = (ComponentWithInjectProperties)factory.InstantiateComponent(serviceProvider, componentType, callSiteRenderMode, 1234); 216var resolvedComponent = new ComponentWithInjectProperties(); 239var resolvedComponent = new ComponentWithInjectProperties(); 259var componentType = typeof(ComponentWithInjectProperties); 272var component = Assert.IsType<ComponentWithInjectProperties>(instance); 282var componentType = typeof(ComponentWithInjectProperties); 303var actualType = typeof(ComponentWithInjectProperties); 307new CustomComponentActivator<ComponentWithInjectProperties>(), 315Assert.IsType<ComponentWithInjectProperties>(instance); 328var requestedType = typeof(ComponentWithInjectProperties); 345Assert.NotNull(((ComponentWithInjectProperties)component).Property4); 378Assert.NotNull(((ComponentWithInjectProperties)component).Property4); 392var componentType = typeof(ComponentWithInjectProperties); 395var component = new ComponentWithInjectProperties(); 413var componentType = typeof(ComponentWithInjectProperties); 446var componentType = typeof(ComponentWithInjectProperties); 449var component = new ComponentWithInjectProperties();