This project is read-only.
1

Closed

Add a SaveValue extension method

description

Add a SaveValue method to save and restore values, to be used in the following way:

var myValue = value;

using (newValue.SaveValue(() => myValue, v => myValue = v))
{
// do something assuming myValue == newValue
}
// Now myValue == value again
Closed Mar 27, 2012 at 2:51 PM by isierrajg
It was already done in GeneralExtensions.cs

comments