public List<string> this[string arduinoGroupName] { set { var group = _innerCollection.FirstOrDefault(arduinoGroup => arduinoGroup.Name == arduinoGroupName); if (group == null) { group = new ArduinoGroup(arduinoGroupName); _innerCollection.Add(group); } group.Locations = value; } }
public List <string> this[string arduinoGroupName] { set { var group = _innerCollection.FirstOrDefault(arduinoGroup => arduinoGroup.Name == arduinoGroupName); if (group == null) { group = new ArduinoGroup(arduinoGroupName); _innerCollection.Add(group); } group.Locations = value; } }