Ejemplo n.º 1
0
        public CameraManagementViewModel(CameraModel model)
        {
            if (model == null)
            throw new ArgumentNullException("model");

              CameraCollection = new ObservableCollection<Camera>();

              Model = model;

              Refresh();
        }
Ejemplo n.º 2
0
        public CameraCreationViewModel(CameraModel model, CameraFilterModel cameraFilterModel, DesktopFilterModel desktopFilterModel)
        {
            if (model == null)
            throw new ArgumentNullException("model");
              if (cameraFilterModel == null)
            throw new ArgumentNullException("cameraFilterModel");
              if (desktopFilterModel == null)
            throw new ArgumentNullException("desktopFilterModel");

              Model = model;
              CameraFilterModel = cameraFilterModel;
              DesktopFilterModel = desktopFilterModel;
        }
Ejemplo n.º 3
0
 public CameraUpdateViewModel(CameraModel model, CameraFilterModel localCameraVSModel, DesktopFilterModel localDesktopVSModel)
     : base(model, localCameraVSModel, localDesktopVSModel)
 {
 }