Open jbradford opened 6 years ago
It would be nice to have an AddOrUpdate method on IViewModelWriter for cases when you don't know if the ViewModel will exist or not at the time of usage.
AddOrUpdate
IViewModelWriter
ViewModel
It could have a similar signature to https://msdn.microsoft.com/en-us/library/ee378665(v=vs.110).aspx.
For the InMemory implementation it would be simple as internally it uses a ConcurrentDictionary.
It would be nice to have an
AddOrUpdate
method onIViewModelWriter
for cases when you don't know if theViewModel
will exist or not at the time of usage.It could have a similar signature to https://msdn.microsoft.com/en-us/library/ee378665(v=vs.110).aspx.