Esempio n. 1
0
        public static AutoSetValue <T> SetValue <T>(ref T preValue, T postValue)
        {
            var self = new AutoSetValue <T> {
                preValue = preValue, postValue = postValue
            };

            preValue = postValue;
            return(self);
        }
Esempio n. 2
0
 public static AutoSetValue <T> SetValue <T>(ref T preValue, T postValue)
 {
     return(AutoSetValue.SetValue(ref preValue, postValue));
 }