Example #1
0
        private void UpdateOperationSystemAndProfile(string clientOperatingSystem, string clientPlatForm)
        {
            List <string> OSList       = ClientProfileDom.StringToList(clientOperatingSystem);
            List <string> platFormList = ClientProfileDom.StringToList(clientPlatForm);

            foreach (var item in OperatingSystem)
            {
                if (!OSList.Contains(item))
                {
                    OSList.Add(item);
                }
            }

            OperatingSystem = OSList;

            foreach (var item in Platform)
            {
                if (!platFormList.Contains(item))
                {
                    platFormList.Add(item);
                }
            }

            Platform = platFormList;
        }
Example #2
0
        private void UpdateClientOperationSystemAndProfile(string clientOperatingSystem, string clientPlatForm)
        {
            List <string> OSList       = ClientProfileDom.StringToList(clientOperatingSystem);
            List <string> platFormList = ClientProfileDom.StringToList(clientPlatForm);


            foreach (var item in OSList)
            {
                if (!OperatingSystem.Contains(item))
                {
                    OperatingSystem.Add(item);
                }
            }

            foreach (var item in platFormList)
            {
                if (!Platform.Contains(item))
                {
                    Platform.Add(item);
                }
            }
        }