Exemple #1
0
 public static bool Write <T>(this ISynchronizableLock <T> sync, Func <T, bool> read, Action <T> write)
 {
     return(sync.Write(-1, read, write));
 }
Exemple #2
0
 public static TValue Write <T, TValue>(this ISynchronizableLock <T> sync, Func <T, TValue> write)
 {
     return(sync.Write(-1, write));
 }