예제 #1
0
 public SolutionWrapper(
     IVsSolution solution,
     IVsSolution2 solution2 = null,
     IVsSolution3 solution3 = null,
     IVsSolution4 solution4 = null,
     IVsSolution5 solution5 = null,
     IVsSolution6 solution6 = null,
     IVsSolution7 solution7 = null,
     IVsSolution8 solution8 = null
     )
 {
     _solution  = solution;
     _solution2 = solution2;
     _solution3 = solution3;
     _solution4 = solution4;
     _solution5 = solution5;
     _solution6 = solution6;
     _solution7 = solution7;
     _solution8 = solution8;
 }
 public DeferredProjectWorkspaceService(SVsServiceProvider serviceProvider)
 {
     _solutionWorkspaceService = new Lazy<IVsSolutionWorkspaceService>(
         () => (IVsSolutionWorkspaceService)serviceProvider.GetService(typeof(SVsSolutionWorkspaceService)));
     _solution7 = serviceProvider.GetService(typeof(SVsSolution)) as IVsSolution7;
 }