public void Write <T>(T obj, SyncType type) { if (isWriting) { Bind(ref obj, type); } }
public T Read <T>(SyncType type) { T obj = default(T); if (isWriting) { return(obj); } Bind(ref obj, type); return(obj); }
public abstract void Bind <T>(ref T obj, SyncType type);