Exemplo n.º 1
0
        public void Edit(object args)
        {
            IDataModelObject noteSource = SelectedEntity.Model;
            var modelObjCopy            = noteSource.Clone() as U;

            RequestShowItemEditor(CreateViewModelEntity(modelObjCopy));
        }
 public NoteViewModel(Note note)
 {
     _note = note;
     Model = note;
     //ErrorsChanged += ErrorsChangedHandler;
     ValidateProperty("Name");
 }
 public TaskViewModel(Task taskData)
 {
     _task = taskData;
     Model = _task;
 }
 public EventViewModel(Event eventData)
 {
     _event = eventData;
     Model  = eventData;
 }