Esempio n. 1
0
        private void HandleProjectCreated(object sender, ProjectCreatedEventArgs e)
        {
            ProjectViewModel projectViewModel = new ProjectViewModel(userInterface, statusInfo, openedProjects, e.NewProject);

            Projects.Add(projectViewModel);

            IsNoTabInfoVisible = Projects.Count == 0;
        }
Esempio n. 2
0
 public void CreateProject(object sender, ProjectCreatedEventArgs eventArgs)
 {
     this.ProjectCreated.Raise(sender, eventArgs);
 }
 public override void OnProjectCreated(ProjectCreatedEventArgs args)
 {
     base.OnProjectCreated(args);
 }
 public override void OnProjectCreated(ProjectCreatedEventArgs args)
 {
     base.OnProjectCreated(args);
 }
Esempio n. 5
0
 public Task <PolicyResult <Guid> > Handle(ProjectCreatedEventArgs request, CancellationToken cancellationToken)
 {
     throw new NotImplementedException();
 }
Esempio n. 6
0
 public Task <PolicyResult <Guid> > Handle(ProjectCreatedEventArgs request, CancellationToken cancellationToken)
 {
     return(this.executionPolicies.DbExecutionPolicy.ExecuteAndCaptureAsync(() => this.repository.CreateProjectAsync(request.Project)));
 }