Class PresetRepository
- Namespace
- Dynamicweb.Content.Items.Presets
- Assembly
- Dynamicweb.dll
- Inheritance
-
Preset
Repository
- Inherited Members
Methods
Delete(string, string?)
Delete the specified preset
Parameters
GetByItem(string)
Get presets
Parameters
itemType
stringThe item type
Returns
- IEnumerable<Preset>
The preset collection
GetByName(string, string)
Gets by name
Parameters
Returns
- Preset
The analytic report
GetNewSystemName(string, string)
Get new system name
Parameters
Returns
Save(string, Preset, string)
Saves the specified preset
Parameters
SetSelected(string, string, string, bool)
Set selected preset
Parameters
itemType
stringThe item type
itemId
stringThe item id
systemName
stringThe preset system name
isModified
boolIs the preset was modified
TryGetSelected(string, string, out SelectedInformation)
Get selected preset
Parameters
itemType
stringThe item type
itemId
stringThe item id
selectedInfo
SelectedInformation The selected preset