SystemService Class

SystemService Class

public class SystemService: RedaktServiceBase, ISystemService

Inheritance  Object RedaktServiceBase SystemService

Implements  ISystemService

Constructors

Name Description
SystemService(...) Default constructor. Services are injected by the IoC container.

Properties

Name Description
ContentDefinitions The collection of content and folder definitions discovered by DiscoverConfigurationModel.
PageDefinitions The collection of page definitions discovered by DiscoverConfigurationModel.

Methods

Name Description
DeleteSettingAsync<T>(string)
DiscoverConfigurationModel() Performs an assembly scan for page, section, content and property definition models.
GetContentDefinition(string) Gets the content or folder definition for the specified view model type name.
GetContentDefinition<TModel>() Gets the content or folder definition for the specified view model type.
GetContentDefinition(Type)
GetDefinition(string) Gets the content or folder definition for the specified view model type name.
GetPageDefinition(string) Gets the page definition for the specified view model type name.
GetPageDefinition<TModel>() Gets the page definition for the specified view model type.
GetPageDefinition(Type)
GetPropertyDefinition<TModel>(Expression<Func<TModel, object>>)
GetSettingAsync<T>(string)
GetSettingsAsync<T>()
SaveSettingAsync<T>(string, T)
ScanForLayouts()