Click or drag to resize
Akka.NETORDictionaryTKey, TValueAddOrUpdate Method (UniqueAddress, TKey, TValue, FuncTValue, TValue)
Replace a value by applying the modify function on the existing value. If there is no current value for the key the initial value will be passed to the modify function.

Namespace:  Akka.DistributedData
Assembly:  Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public ORDictionary<TKey, TValue> AddOrUpdate(
	UniqueAddress node,
	TKey key,
	TValue initial,
	Func<TValue, TValue> modify
)

Parameters

node
Type: Akka.ClusterUniqueAddress

[Missing <param name="node"/> documentation for "M:Akka.DistributedData.ORDictionary`2.AddOrUpdate(Akka.Cluster.UniqueAddress,`0,`1,System.Func{`1,`1})"]

key
Type: TKey

[Missing <param name="key"/> documentation for "M:Akka.DistributedData.ORDictionary`2.AddOrUpdate(Akka.Cluster.UniqueAddress,`0,`1,System.Func{`1,`1})"]

initial
Type: TValue

[Missing <param name="initial"/> documentation for "M:Akka.DistributedData.ORDictionary`2.AddOrUpdate(Akka.Cluster.UniqueAddress,`0,`1,System.Func{`1,`1})"]

modify
Type: SystemFuncTValue, TValue

[Missing <param name="modify"/> documentation for "M:Akka.DistributedData.ORDictionary`2.AddOrUpdate(Akka.Cluster.UniqueAddress,`0,`1,System.Func{`1,`1})"]

Return Value

Type: ORDictionaryTKey, TValue

[Missing <returns> documentation for "M:Akka.DistributedData.ORDictionary`2.AddOrUpdate(Akka.Cluster.UniqueAddress,`0,`1,System.Func{`1,`1})"]

See Also