Ejemplo n.º 1
0
 public ProjectCreatorViewModel(Service service)
 {
     this.service = service;
     this.service.DataReceived += OnDataReceived;
     project = new CsProject(service.UserName);
     AvailableStarterKits = VsTemplate.GetAllTemplateNames(project.Framework);
     AvailableFrameworks = new FrameworkFinder().All;
     RegisterCommands();
 }
Ejemplo n.º 2
0
		public ProjectCreatorViewModel(Service service)
		{
			this.service = service;
			this.service.DataReceived += OnDataReceived;
			project = new CsProject(service.UserName);
			AvailableStarterKits = VsTemplate.GetAllTemplateNames(project.Framework);
			AvailableFrameworks = StackTraceExtensions.IsStartedFromNCrunch()
				? new FrameworkFinderSpy().All : new FrameworkFinder().All;
			RegisterCommands();
		}
Ejemplo n.º 3
0
 public ProjectCreatorViewModel(Service service)
 {
     this.service = service;
     this.service.DataReceived += OnDataReceived;
     project = new CsProject(service.UserName);
     AvailableStarterKits = VsTemplate.GetAllTemplateNames(project.Framework);
     AvailableFrameworks  = StackTraceExtensions.IsStartedFromNCrunch()
                         ? new FrameworkFinderSpy().All : new FrameworkFinder().All;
     RegisterCommands();
 }
Ejemplo n.º 4
0
 public ProjectCreator(CsProject project, VsTemplate template, Service service)
 {
     Project      = project;
     Template     = template;
     this.service = service;
 }
Ejemplo n.º 5
0
		public ProjectCreator(CsProject project, VsTemplate template, Service service)
		{
			Project = project;
			Template = template;
			this.service = service;
		}