public static Device Open(int device, VideoSystem videoSystem) { Device result = null; Binding.Device backend = Binding.Board.Open()[device]; if (backend.NotNull()) { backend.VideoSystem = videoSystem; result = new Device(backend); } return(result); }
Device(Binding.Device backend) { this.backend = backend; }