예제 #1
0
 public IEnumerable <string> GetAvailableTypes()
 {
     return(DeviceFactory.GetAvailableTypes());
 }
예제 #2
0
        public Device Create(string type, string name)
        {
            Device newDevice = DeviceFactory.CreateDevice(type, name);

            return(newDevice);
        }