Table of Contents

Class RequestStockValue<TValue>

Namespace
CMS.Base
Assembly
CMS.Base.dll

Defines a lazy loaded value stored in the request stock helper

public class RequestStockValue<TValue> : CMSLazy<TValue>

Type Parameters

TValue
Inheritance
object
CMSLazy<TValue>
RequestStockValue<TValue>
Inherited Members
Extension Methods

Constructors

RequestStockValue(string, Func<TValue>)

Constructor

public RequestStockValue(string requestStockKey, Func<TValue> initializer)

Parameters

requestStockKey string

Request stock key

initializer Func<TValue>

Initializer for the new value

RequestStockValue(string, TValue)

Constructor

public RequestStockValue(string requestStockKey, TValue defaultValue = default)

Parameters

requestStockKey string

Request stock key

defaultValue TValue

Default value