ContextContainerTParentEnsureValueTValue Method |
Ensures the value
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntax 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:
TValueSee Also