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