public string LoadClients()
        {
            m_clients = new List<Client>();

            string dataPath = DataPath.Instance.Root;
            XElement settings = null;
            try{
                settings = XElement.Load(dataPath + m_settingsFileName);
            } catch { }
            if (settings == null)
                return "Error reading Client Settigns"; //nothing to do

            var clientSettings = settings.Elements("client");
            if (!clientSettings.Any())
                return "No clients found in Client Settings"; //nothing to do

            string results = "";
            foreach (XElement x in clientSettings)
            {
                try
                {
                    //make sure settings are enabled and contain an alias name
                    string test = Client.GetAttribute(x, "enabled");
                    bool enabled = (test.Equals("true", StringComparison.CurrentCultureIgnoreCase) || test.Equals("0"));
                    string alias = Client.GetValue(x, "alias");
                    if (enabled && alias.Length > 0)
                    {
                        var c = new Client(x);
                        m_clients.Add(c);
                        results += string.Format("Client {0} created with cart type {1}{2}", alias, c.CartType, Environment.NewLine);
                    }
                }
                catch { }
            }
            if (m_clients.Count < 1)
                results += "No enabled clients found in Client Settings";
            #if DEBUG
                BoostLog.Instance.WriteEntry(results, System.Diagnostics.EventLogEntryType.Information);
            #endif
            return results;
        }
 public void Add(Client client)
 {
     m_clients.Add(client);
 }