IConfigurableThemeableApplicationType is defined in the Telligent.Evolution.Extensibility.Urls.Version1 namespace.
Definition
interface IConfigurableThemeableApplicationType : IThemeableApplicationType { Guid ParentThemeTypeId { get; } bool CanConfigureTheme(int userId, Guid applicationId); bool CanSetDefaultTheme(int userId); bool CanSetTheme(int userId, Guid applicationId); IEnumerable<IApplication> FindApplications(string query); int[] GetResponsibleUserIds(Guid applicationId); Guid? GetSampleApplicationId(Guid? themeId); void SetDefaultTheme(int userId, Guid themeId); void SetTheme(int userId, Guid applicationId, Guid themeId); }
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| ParentThemeTypeId | Guid |
Methods
bool CanConfigureTheme(int userId, Guid applicationId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| userId | int | User Id | Required | ||
| applicationId | Guid | Application Id | Required |
Return Type
bool CanSetDefaultTheme(int userId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| userId | int | User Id | Required |
Return Type
bool CanSetTheme(int userId, Guid applicationId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| userId | int | User Id | Required | ||
| applicationId | Guid | Application Id | Required |
Return Type
IEnumerable<IApplication> FindApplications(string query);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| query | string | Query | Required |
Return Type
int[] GetResponsibleUserIds(Guid applicationId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| applicationId | Guid | Application Id | Required |
Return Type
int[]
Guid? GetSampleApplicationId(Guid? themeId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| themeId | Guid? | Theme Id | Required |
Return Type
Guid?
void SetDefaultTheme(int userId, Guid themeId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| userId | int | User Id | Required | ||
| themeId | Guid | Theme Id | Required |
void SetTheme(int userId, Guid applicationId, Guid themeId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| userId | int | User Id | Required | ||
| applicationId | Guid | Application Id | Required | ||
| themeId | Guid | Theme Id | Required |