Interface IAvailableSettingsRepository
Defines the signature for a component that acts as a repository for Available
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public interface IAvailableSettingsRepository
Methods
ClearSetting(String)
Clears all settings defined for the page type.
Declaration
void ClearSetting(string contentTypeName)
Parameters
Type | Name | Description |
---|---|---|
System. |
contentTypeName | Name of the page type. |
Remarks
Any other calls on the same session will be ignored if ClearAllSettings is called.
GetSetting(ContentType)
Gets the settings registered for the Page
Declaration
AvailableSetting GetSetting(ContentType contentType)
Parameters
Type | Name | Description |
---|---|---|
Content |
contentType | Type of the page. |
Returns
Type | Description |
---|---|
Available |
Remarks
The runtime settings on Content
ListSettings()
Lists the registered settings.
Declaration
IDictionary<string, AvailableSetting> ListSettings()
Returns
Type | Description |
---|---|
System. |
RegisterSetting(ContentType, AvailableSetting)
Sets available content types settings for a page type.
Declaration
void RegisterSetting(ContentType contentType, AvailableSetting setting)
Parameters
Type | Name | Description |
---|---|---|
Content |
contentType | Type of the page. |
Available |
setting | The setting. |
Remarks
The runtime settings on Content
Events
SettingsChanged
Occurs when a setting has been changed.
Declaration
event EventHandler<RepositoryEventArgs> SettingsChanged
Event Type
Type | Description |
---|---|
System. |