16 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
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
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
;