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();
 }
		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();
		}
示例#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();
 }
示例#4
0
 public ProjectCreator(CsProject project, VsTemplate template, Service service)
 {
     Project      = project;
     Template     = template;
     this.service = service;
 }
示例#5
0
		public ProjectCreator(CsProject project, VsTemplate template, Service service)
		{
			Project = project;
			Template = template;
			this.service = service;
		}