Ejemplo n.º 1
0
 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;
     }
 }
Ejemplo n.º 2
0
 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;
     }
 }