public ReferenceEditViewModel(ProjectPropertiesEditViewModel owner, ReferenceEdit model)
            : base(owner.Messenger)
        {
            this.owner = owner;
            Model = model;

            ReferAssemblyFileCommand = new RelayCommand(ReferAssemblyFile);
            DeleteCommand = new RelayCommand(Delete);
        }
예제 #2
0
        void EditProjectProperties()
        {
            if (Model.Project == null) return;

            var messageContent = new ProjectPropertiesEditViewModel(new ProjectPropertiesEdit(Model.Project));
            var message = new EditProjectPropertiesMessage(messageContent);

            Messenger.Send(message);
        }