31 types derived from ViewComponent
BasicWebSite (3)
Components\PassThroughViewComponent.cs (1)
8
public class PassThroughViewComponent :
ViewComponent
Components\ViewDataViewComponent.cs (1)
8
public class ViewDataViewComponent :
ViewComponent
RequestIdViewComponent.cs (1)
8
public class RequestIdViewComponent :
ViewComponent
ControllersFromServicesWebSite (1)
Components\ComponentFromServicesViewComponent.cs (1)
8
public class ComponentFromServicesViewComponent :
ViewComponent
HtmlGenerationWebSite (3)
Components\CheckViewData - LackModel.cs (1)
10
public class CheckViewData___LackModel :
ViewComponent
Components\CheckViewData.cs (1)
9
public class CheckViewData :
ViewComponent
Components\SplashViewComponent.cs (1)
8
public class SplashViewComponent :
ViewComponent
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (13)
ViewComponentResultTest.cs (2)
732
private class TextViewComponent :
ViewComponent
740
private class AsyncTextViewComponent :
ViewComponent
ViewComponents\DefaultViewComponentActivatorTests.cs (2)
99
private class TestViewComponent :
ViewComponent
107
private class VisibilityViewComponent :
ViewComponent
ViewComponents\DefaultViewComponentSelectorTest.cs (2)
182
public class SuffixViewComponent :
ViewComponent
187
public class WithoutSuffix :
ViewComponent
ViewComponents\ViewComponentConventionsTest.cs (6)
93
public class PublicNestedClass :
ViewComponent
97
private class PrivateNestedClass :
ViewComponent
106
public class PublicClass :
ViewComponent
110
internal class InternalClass :
ViewComponent
114
public abstract class AbstractClass :
ViewComponent
118
public class GenericViewComponent<T> :
ViewComponent
ViewComponentTests.cs (1)
257
private class TestViewComponent :
ViewComponent
RazorPagesWebSite (1)
Components\ViewDataViewComponent.cs (1)
8
public class ViewDataViewComponent :
ViewComponent
RazorWebSite (7)
Components\ComponentForViewWithPaths.cs (1)
9
public class ComponentForViewWithPaths :
ViewComponent
Components\ComponentThatSetsTitle.cs (1)
9
public class ComponentThatSetsTitle :
ViewComponent
Components\ComponentWithFlush.cs (1)
9
public class ComponentWithFlush :
ViewComponent
Components\ComponentWithLayout.cs (1)
8
public class ComponentWithLayout :
ViewComponent
Components\ComponentWithRelativePath.cs (1)
8
public class ComponentWithRelativePath :
ViewComponent
Components\ComponentWithViewStart.cs (1)
8
public class ComponentWithViewStart :
ViewComponent
Components\InheritingViewComponent.cs (1)
9
public class InheritingViewComponent :
ViewComponent
TagHelpersWebSite (3)
Components\CopyrightViewComponent.cs (1)
8
public class CopyrightViewComponent :
ViewComponent
Components\DanViewComponent.cs (1)
9
public class DanViewComponent :
ViewComponent
Components\GenericViewComponent.cs (1)
8
public 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)
31
var
instance = activator.Create(context) as
ViewComponent
;