Exemplo n.º 1
0
        public ISocketedItem ParseElement(string data)
        {
            var line = data.Replace("Sockets: ", string.Empty);
            var res  = line.Where(a => ItemExtensions.IsOneOf(a, 'R', 'G', 'B')).Count();

            SocketsCount = res;
            return(this);
        }