31 types derived from ViewComponent
BasicWebSite (3)
Components\PassThroughViewComponent.cs (1)
8public class PassThroughViewComponent : ViewComponent
Components\ViewDataViewComponent.cs (1)
8public class ViewDataViewComponent : ViewComponent
RequestIdViewComponent.cs (1)
8public class RequestIdViewComponent : ViewComponent
ControllersFromServicesWebSite (1)
Components\ComponentFromServicesViewComponent.cs (1)
8public class ComponentFromServicesViewComponent : ViewComponent
HtmlGenerationWebSite (3)
Components\CheckViewData - LackModel.cs (1)
10public class CheckViewData___LackModel : ViewComponent
Components\CheckViewData.cs (1)
9public class CheckViewData : ViewComponent
Components\SplashViewComponent.cs (1)
8public class SplashViewComponent : ViewComponent
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (13)
ViewComponentResultTest.cs (2)
732private class TextViewComponent : ViewComponent 740private class AsyncTextViewComponent : ViewComponent
ViewComponents\DefaultViewComponentActivatorTests.cs (2)
99private class TestViewComponent : ViewComponent 107private class VisibilityViewComponent : ViewComponent
ViewComponents\DefaultViewComponentSelectorTest.cs (2)
182public class SuffixViewComponent : ViewComponent 187public class WithoutSuffix : ViewComponent
ViewComponents\ViewComponentConventionsTest.cs (6)
93public class PublicNestedClass : ViewComponent 97private class PrivateNestedClass : ViewComponent 106public class PublicClass : ViewComponent 110internal class InternalClass : ViewComponent 114public abstract class AbstractClass : ViewComponent 118public class GenericViewComponent<T> : ViewComponent
ViewComponentTests.cs (1)
257private class TestViewComponent : ViewComponent
RazorPagesWebSite (1)
Components\ViewDataViewComponent.cs (1)
8public class ViewDataViewComponent : ViewComponent
RazorWebSite (7)
Components\ComponentForViewWithPaths.cs (1)
9public class ComponentForViewWithPaths : ViewComponent
Components\ComponentThatSetsTitle.cs (1)
9public class ComponentThatSetsTitle : ViewComponent
Components\ComponentWithFlush.cs (1)
9public class ComponentWithFlush : ViewComponent
Components\ComponentWithLayout.cs (1)
8public class ComponentWithLayout : ViewComponent
Components\ComponentWithRelativePath.cs (1)
8public class ComponentWithRelativePath : ViewComponent
Components\ComponentWithViewStart.cs (1)
8public class ComponentWithViewStart : ViewComponent
Components\InheritingViewComponent.cs (1)
9public class InheritingViewComponent : ViewComponent
TagHelpersWebSite (3)
Components\CopyrightViewComponent.cs (1)
8public class CopyrightViewComponent : ViewComponent
Components\DanViewComponent.cs (1)
9public class DanViewComponent : ViewComponent
Components\GenericViewComponent.cs (1)
8public class GenericViewComponent : ViewComponent
8 references to ViewComponent
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
IViewComponentResult.cs (3)
9/// Result type of a <see cref="ViewComponent"/>. 14/// Executes the result of a <see cref="ViewComponent"/> using the specified <paramref name="context"/>. 20/// Asynchronously executes the result of a <see cref="ViewComponent"/> using the specified
ViewComponents\IViewComponentActivator.cs (3)
15/// The <see cref="ViewComponentContext"/> for the executing <see cref="ViewComponent"/>. 25/// <param name="viewComponent">The <see cref="ViewComponent"/> to release.</param> 34/// <param name="viewComponent">The <see cref="ViewComponent"/> to release.</param>
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ViewComponents\DefaultViewComponentActivatorTests.cs (2)
31var instance = activator.Create(context) as ViewComponent;