Click or drag to resize
ContextContainerTParentEnsureValueTValue Method
Ensures the value

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntax
C#
protected static TValue EnsureValue<TValue>(
	ref TValue value,
	Func<TValue> initializer
)
where TValue : class

Parameters

value
Type: TValue
Value to ensure
initializer
Type: SystemFuncTValue
Value initializer

Type Parameters

TValue

Return Value

Type: TValue
See Also