5 types derived from RenderModeAttribute
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
TestRenderModeAttribute.cs (1)
6internal class TestRenderModeAttribute<T> : RenderModeAttribute where T: IComponentRenderMode, new()
Microsoft.AspNetCore.Components.Tests (4)
ComponentFactoryTest.cs (2)
384class DerivedComponentRenderModeAttribute : RenderModeAttribute 403class OwnRenderMode : RenderModeAttribute
RendererTest.cs (2)
5120public class HasSubstituteComponentRenderMode : RenderModeAttribute 5132public class HasUnknownRenderMode : RenderModeAttribute
7 references to RenderModeAttribute
Microsoft.AspNetCore.Components (1)
ComponentFactory.cs (1)
39var componentTypeRenderMode = componentType.GetCustomAttribute<RenderModeAttribute>()?.Mode;
Microsoft.AspNetCore.Components.Endpoints (3)
Discovery\ComponentBuilder.cs (1)
24public RenderModeAttribute? RenderMode { get; set; }
Discovery\IRazorComponentApplication.cs (2)
42var renderMode = candidate.GetCustomAttribute<RenderModeAttribute>();
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
HotReloadServiceTests.cs (1)
209RenderMode = t.GetCustomAttribute<RenderModeAttribute>()
RazorComponentEndpointDataSourceTest.cs (1)
212RenderMode = t.GetCustomAttribute<RenderModeAttribute>()
Microsoft.AspNetCore.Components.Tests (1)
ComponentFactoryTest.cs (1)
223var callsiteRenderMode = componentType.GetCustomAttribute<RenderModeAttribute>().Mode;