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

            if (isWriting)
            {
                return(obj);
            }

            Bind(ref obj, type);

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