Пример #1
0
        public static void Copy(RemoteDeviceData src, RemoteDeviceData dest)
        {
            dest.Room = src.Room;
            dest.User = src.User;

            // Copy PeerConnections
            dest.PeerConnections.Clear();
            foreach (var t in src.PeerConnections)
            {
                dest.PeerConnections.Add(t);
            }
        }
Пример #2
0
 public RemoteDeviceData(RemoteDeviceData other) // copy constructor
 {
     Copy(other, this);
 }