Class ChangeLogUI
A class to register localized description strings for Change Log categories and actions which can then be used in the EPiServer UI
Inheritance
Inherited Members
Namespace: EPiServer.ChangeLog.UI
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public static class ChangeLogUI
Methods
GetCategories()
Get all of the registered category descriptions
Declaration
public static IEnumerable<KeyValuePair<int, string>> GetCategories()
Returns
Type | Description |
---|---|
System. |
An System.Collections.Generic.IEnumerable<T> |
GetCategoryActions(Int32)
Get all of the registered action descriptions for the category
Declaration
public static IEnumerable<KeyValuePair<int, string>> GetCategoryActions(int category)
Parameters
Type | Name | Description |
---|---|---|
System. |
category | The category to get the descriptions for |
Returns
Type | Description |
---|---|
System. |
A System. |
GetCategoryActionTranslationKey(Int32, Int32)
Get a translation key registered for a Change Log category action
Declaration
public static string GetCategoryActionTranslationKey(int category, int action)
Parameters
Type | Name | Description |
---|---|---|
System. |
category | The category to get the translation key for |
System. |
action | The action to get the translation key for |
Returns
Type | Description |
---|---|
System. |
A System. |
GetCategoryTranslationKey(Int32)
Get a translation key registered for a Change Log category
Declaration
public static string GetCategoryTranslationKey(int category)
Parameters
Type | Name | Description |
---|---|---|
System. |
category | The category to get the translation key for |
Returns
Type | Description |
---|---|
System. |
A System. |
RegisterCategory(Int32, String)
Register a Change Log category with the EPiServer UI
Declaration
public static void RegisterCategory(int category, string translationKey)
Parameters
Type | Name | Description |
---|---|---|
System. |
category | The category to register |
System. |
translationKey | The translation key to the EPiServer Language system for the category |
RegisterCategoryAction(Int32, Int32, String)
Register a Change Log Action with the EPiServer UI
Declaration
public static void RegisterCategoryAction(int category, int action, string translationKey)
Parameters
Type | Name | Description |
---|---|---|
System. |
category | The category to register the action for |
System. |
action | The action to register |
System. |
translationKey | The translation key to the EPiServer Language system for the action |