Show / Hide Table of Contents

Class AbpViewComponent

Inheritance
System.Object
AbpViewComponent
LayoutHookViewComponent
Namespace: Volo.Abp.AspNetCore.Mvc
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public abstract class AbpViewComponent : ViewComponent

Fields

ServiceProviderLock

Declaration
protected readonly object ServiceProviderLock
Field Value
Type Description
System.Object

Properties

ObjectMapper

Declaration
protected IObjectMapper ObjectMapper { get; }
Property Value
Type Description
IObjectMapper

ObjectMapperContext

Declaration
protected Type ObjectMapperContext { get; set; }
Property Value
Type Description
System.Type

ServiceProvider

Declaration
public IServiceProvider ServiceProvider { get; set; }
Property Value
Type Description
System.IServiceProvider

Methods

LazyGetRequiredService<TService>(ref TService)

Declaration
protected TService LazyGetRequiredService<TService>(ref TService reference)
Parameters
Type Name Description
TService reference
Returns
Type Description
TService
Type Parameters
Name Description
TService

LazyGetRequiredService<TRef>(Type, ref TRef)

Declaration
protected TRef LazyGetRequiredService<TRef>(Type serviceType, ref TRef reference)
Parameters
Type Name Description
System.Type serviceType
TRef reference
Returns
Type Description
TRef
Type Parameters
Name Description
TRef

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft