Click or drag to resize
AbstractStockHelperTHelper Class
Abstract class for the stock helpers
Inheritance Hierarchy
SystemObject
  CMS.HelpersAbstractStockHelperTHelper
    CMS.HelpersRequestStockHelper

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public abstract class AbstractStockHelper<THelper>
where THelper : new(), AbstractStockHelper<THelper>

Type Parameters

THelper

The AbstractStockHelperTHelper type exposes the following members.

Constructors
Fields
  NameDescription
Protected fieldStatic memberInstance
Helper instance
Top
Properties
  NameDescription
Protected propertyCurrentItems
Current items collection.
Top
Methods
  NameDescription
Public methodStatic memberAdd
Add item.
Public methodStatic memberAddToStorage
Adds item to specific storage specified by storageKey.
Public methodStatic memberContains(String, Boolean)
Check if stock contain item.
Public methodStatic memberContains(String, String, Boolean)
Check if stock contain item.
Public methodStatic memberDropStorage
Drops the storage
Public methodStatic memberEnsureObjectObjectType
Ensures the object in request items
Public methodStatic memberExecuteWithEmptyStorage
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.
Public methodStatic memberGetItem(String, Boolean)
Returns object which matches by key.
Public methodStatic memberGetItem(String, String, Boolean)
Returns object which matches by key.
Public methodStatic memberGetStorage
Gets the storage
Public methodStatic memberRemove(String, Boolean)
Remove item.
Public methodStatic memberRemove(String, String, Boolean)
Remove item.
Top
See Also