IThemePanel is defined in the Telligent.Evolution.Extensibility.Administration.Version1 namespace of Telligent.Evolution.Platform.dll
Definition
interface IThemePanel : IPlugin { string CssClass { get; } int? DisplayOrder { get; } bool IsCacheable { get; } Guid PanelId { get; } bool VaryCacheByUser { get; } string GetPanelDescription(Guid themeType, Guid themeApplicationId, bool forceDefault); string GetPanelName(Guid themeType, Guid themeApplicationId, bool forceDefault); string GetViewHtml(Guid themeType, Guid themeApplicationId, bool forceDefault); bool HasAccess(int userId, Guid themeType, Guid themeApplicationId, bool forceDefault); }
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| CssClass | string | |||
| DisplayOrder | int? | |||
| IsCacheable | bool | |||
| PanelId | Guid | |||
| VaryCacheByUser | bool |
Methods
string GetPanelDescription(Guid themeType, Guid themeApplicationId, bool forceDefault);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| themeType | Guid | Theme Type | Required | ||
| themeApplicationId | Guid | Theme Application Id | Required | ||
| forceDefault | bool | Force Default | Required |
Return Type
string
string GetPanelName(Guid themeType, Guid themeApplicationId, bool forceDefault);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| themeType | Guid | Theme Type | Required | ||
| themeApplicationId | Guid | Theme Application Id | Required | ||
| forceDefault | bool | Force Default | Required |
Return Type
string
string GetViewHtml(Guid themeType, Guid themeApplicationId, bool forceDefault);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| themeType | Guid | Theme Type | Required | ||
| themeApplicationId | Guid | Theme Application Id | Required | ||
| forceDefault | bool | Force Default | Required |
Return Type
string
bool HasAccess(int userId, Guid themeType, Guid themeApplicationId, bool forceDefault);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| userId | int | User Id | Required | ||
| themeType | Guid | Theme Type | Required | ||
| themeApplicationId | Guid | Theme Application Id | Required | ||
| forceDefault | bool | Force Default | Required |
Return Type
bool