public ElementAttributeSelector(JArray attributes) { this.attributes = attributes.ToDictionary(x => x["Name"].ToString().ToLower(), x => x["Value"].ToString()); }