public static void AddSync(string key, Synchronization sync) { lock (LockObject) Synchronizations[key] = sync; }