| IGlobalCacheReplaceValueTIn, TOut Method |
Replace value for a given key based on a given calculation formula.
Namespace:
Mavidian.DataConveyer.Orchestrators
Assembly:
DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax TOut ReplaceValue<TIn, TOut>(
string key,
Func<TIn, TOut> formula
)
Function ReplaceValue(Of TIn, TOut) (
key As String,
formula As Func(Of TIn, TOut)
) As TOut
Parameters
- key
- Type: SystemString
Key of the value to replace. - formula
- Type: SystemFuncTIn, TOut
Function to calculate a new value from the old value.
Type Parameters
- TIn
- Type of the value to replace (i.e. the old value).
- TOut
- Type of the replacement value (i.e. the new value).
Return Value
Type:
TOutNew value that replaced the old value.
Exceptions See Also