A utility class containing a number of frequently used properties and methods. An instance of this class is part of the base RedaktPage<TModel> view class.
public class RedaktHelper
- Inheritance:
- ObjectRedaktHelper
Constructors
RedaktHelper(IServiceProvider) |
Properties
Context | Gets the current IRedaktContext instance which contains objects for the current page request. |
Services | Gets the global IRedaktServices services instance. |
System | Gets the global IRedaktSystem instance which contains system settings and configuration. |
Methods
DictionaryString(string, CultureInfo, string) | Returns the dictionary value for a specific key and culture. |
DictionaryString(string, string) | Returns the dictionary value for a specific key and and the current UI culture. |
DictionaryHtml(string, CultureInfo, string) | Returns the dictionary value for a specific key and culture as a |
DictionaryHtml(string, string) | Returns the dictionary value for a specific key and the current UI culture as a |