Class WebRequestResources
Inheritance
object
WebRequestResources
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.UI.Resources
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bundling.dll
Syntax
public class WebRequestResources : IWebRequestResources, IScopedDependency
Constructors
WebRequestResources(IHttpContextAccessor)
Declaration
public WebRequestResources(IHttpContextAccessor httpContextAccessor)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Http.IHttpContextAccessor | httpContextAccessor |
Properties
HttpContextAccessor
Declaration
protected IHttpContextAccessor HttpContextAccessor { get; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Http.IHttpContextAccessor |
Resources
Declaration
protected Dictionary<string, List<string>> Resources { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<TKey, TValue><string, System.Collections.Generic.List<T><string>> |
Methods
TryAdd(List<string>)
Declaration
public List<string> TryAdd(List<string> resources)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<T><string> | resources |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><string> |