Interface IWebProfilerRepository
Represents a repository for managing web profiler status per user.
Namespace: Umbraco.Cms.Core.Persistence.Repositories
Assembly: Umbraco.Core.dll
Syntax
public interface IWebProfilerRepository
Methods
View SourceGetStatus(int)
Gets the web profiler status for a user.
Declaration
bool GetStatus(int userId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | userId | The identifier of the user. |
Returns
| Type | Description |
|---|---|
| bool |
|
SetStatus(int, bool)
Sets the web profiler status for a user.
Declaration
void SetStatus(int userId, bool status)
Parameters
| Type | Name | Description |
|---|---|---|
| int | userId | The identifier of the user. |
| bool | status | The status to set ( |