Beispiel #1
0
 public void Write <T>(T obj, SyncType type)
 {
     if (isWriting)
     {
         Bind(ref obj, type);
     }
 }
Beispiel #2
0
        public T Read <T>(SyncType type)
        {
            T obj = default(T);

            if (isWriting)
            {
                return(obj);
            }

            Bind(ref obj, type);

            return(obj);
        }
Beispiel #3
0
 public abstract void Bind <T>(ref T obj, SyncType type);