Пример #1
0
        public void Save(string file)
        {
            needsSaving       = false;
            RegisteredClients = new List <SteamClient>();
            foreach (KeyValuePair <ulong, SteamClient> kv in clients)
            {
                RegisteredClients.Add(kv.Value);
            }

            ContentHandler.Save <ClientList>(this, file, new System.Xml.XmlWriterSettings()
            {
                Indent = true, IndentChars = "\t"
            });
        }