Пример #1
0
        public void Set(ClientSettings copyFrom)
        {
            EscapeHi = copyFrom.EscapeHi;
            CaptureScale = copyFrom.CaptureScale;
            CaptureQuality = copyFrom.CaptureQuality;

            LogChannels.Clear();
            foreach (KeyValuePair<ClientLogType, bool> kvp in copyFrom.LogChannels) {
                LogChannels.Add(kvp.Key, kvp.Value);
            }

            QueuedKeys.Clear();
            QueuedKeys.AddRange(copyFrom.QueuedKeys);
        }
Пример #2
0
 public ClientSettings(ClientSettings copyFrom)
     : this()
 {
     Set(copyFrom);
 }