AbstractStockHelperTHelper Class |
Namespace: CMS.Helpers
public abstract class AbstractStockHelper<THelper> where THelper : new(), AbstractStockHelper<THelper>
The AbstractStockHelperTHelper type exposes the following members.
Name | Description | |
---|---|---|
AbstractStockHelperTHelper |
Name | Description | |
---|---|---|
CurrentItems |
Current items collection.
|
Name | Description | |
---|---|---|
Add |
Add item.
| |
AddToStorage |
Adds item to specific storage specified by storageKey.
| |
Contains(String, Boolean) |
Check if stock contain item.
| |
Contains(String, String, Boolean) |
Check if stock contain item.
| |
DropStorage |
Drops the storage
| |
EnsureObjectObjectType |
Ensures the object in request items
| |
ExecuteWithEmptyStorage |
Executes the given action while ensuring the empty storage under the given key for the time being of the action.
Restores original storage after the action.
| |
GetItem(String, Boolean) |
Returns object which matches by key.
| |
GetItem(String, String, Boolean) |
Returns object which matches by key.
| |
GetStorage |
Gets the storage
| |
Remove(String, Boolean) |
Remove item.
| |
Remove(String, String, Boolean) |
Remove item.
|