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

            if (isWriting)
            {
                return(obj);
            }

            Bind(ref obj, type);

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