Class DefaultThemeManager
Inheritance
System.Object
DefaultThemeManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Theming
Assembly: Volo.Abp.AspNetCore.Mvc.UI.dll
Syntax
public class DefaultThemeManager : IThemeManager, IScopedDependency, IServiceProviderAccessor
Constructors
DefaultThemeManager(IServiceProvider, IThemeSelector, IHttpContextAccessor)
Declaration
public DefaultThemeManager(IServiceProvider serviceProvider, IThemeSelector themeSelector, IHttpContextAccessor httpContextAccessor)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IServiceProvider | serviceProvider | |
| IThemeSelector | themeSelector | |
| IHttpContextAccessor | httpContextAccessor |
Properties
CurrentTheme
Declaration
public ITheme CurrentTheme { get; }
Property Value
| Type | Description |
|---|---|
| ITheme |
HttpContextAccessor
Declaration
protected IHttpContextAccessor HttpContextAccessor { get; }
Property Value
| Type | Description |
|---|---|
| IHttpContextAccessor |
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
| Type | Description |
|---|---|
| System.IServiceProvider |
ThemeSelector
Declaration
protected IThemeSelector ThemeSelector { get; }
Property Value
| Type | Description |
|---|---|
| IThemeSelector |
Methods
GetCurrentTheme()
Declaration
protected virtual ITheme GetCurrentTheme()
Returns
| Type | Description |
|---|---|
| ITheme |
Implements
IScopedDependency
IServiceProviderAccessor