public EquipmentBundle CreateStandardBundle()
        {
            var monitor = new EquipmentItem {
                Name = "Monitor"
            };

            var keyboard = new EquipmentItem {
                Name = "keyboard"
            };

            // add to bundle
            var standardBundle = new EquipmentBundle();

            standardBundle.Add(monitor);
            standardBundle.Add(keyboard);

            return(standardBundle);
        }
예제 #2
0
 public void Add(EquipmentItem item)
 {
     Items.Add(item);
 }