Show / Hide Table of Contents

Class AbpActionContextExtensions

Inheritance
object
AbpActionContextExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public static class AbpActionContextExtensions

Methods

GetRequiredService<T>(FilterContext)

Declaration
public static T GetRequiredService<T>(this FilterContext context) where T : class
Parameters
Type Name Description
FilterContext context
Returns
Type Description
T
Type Parameters
Name Description
T

GetService<T>(FilterContext, T?)

Declaration
public static T? GetService<T>(this FilterContext context, T? defaultValue = null) where T : class
Parameters
Type Name Description
FilterContext context
T defaultValue
Returns
Type Description
T
Type Parameters
Name Description
T
In this article
Back to top Powered by ABP.IO Platform