示例#1
0
 public SProcPublisher(IServiceContainer services, IProjectSystemServices pss, IDacPackageServices dacServices)
 {
     _services     = services;
     _pss          = pss;
     _dacServices  = dacServices;
     _outputWindow = new OutputWindowLogWriter(services, VSConstants.OutputWindowPaneGuid.BuildOutputPane_guid, string.Empty);
 }
示例#2
0
 public SProcPublisherTest(PackageTestFilesFixture files)
 {
     _files       = files;
     _shell       = Substitute.For <ICoreShell>();
     _pss         = Substitute.For <IProjectSystemServices>();
     _dacServices = Substitute.For <IDacPackageServices>();
 }
示例#3
0
 public SProcPublisher(IApplicationShell appShell, IProjectSystemServices pss, IFileSystem fs, IDacPackageServices dacServices) {
     _appShell = appShell;
     _pss = pss;
     _fs = fs;
     _dacServices = dacServices;
     _outputWindow = new OutputWindowLogWriter(VSConstants.OutputWindowPaneGuid.BuildOutputPane_guid, string.Empty);
 }
示例#4
0
 public PublishSProcCommand(IApplicationShell appShell, IProjectSystemServices pss, IFileSystem fs, IDacPackageServices dacServices)
 {
     _appShell    = appShell;
     _pss         = pss;
     _fs          = fs;
     _dacServices = dacServices;
 }
示例#5
0
 public SProcPublisher(IApplicationShell appShell, IProjectSystemServices pss, IFileSystem fs, IDacPackageServices dacServices)
 {
     _appShell     = appShell;
     _pss          = pss;
     _fs           = fs;
     _dacServices  = dacServices;
     _outputWindow = new OutputWindowLogWriter(VSConstants.OutputWindowPaneGuid.BuildOutputPane_guid, string.Empty);
 }
        public SProcPublisherTest(PackageTestFilesFixture files)
        {
            _files = files;
            _shell = TestCoreShell.CreateSubstitute();

            _shell.ServiceManager.RemoveService(_shell.ServiceManager.GetService <IFileSystem>());
            _shell.ServiceManager.AddService(new WindowsFileSystem());

            _pss         = Substitute.For <IProjectSystemServices>();
            _dacServices = Substitute.For <IDacPackageServices>();
        }
示例#7
0
 public SProcPublisherTest(PackageTestFilesFixture files) {
     _files = files;
     _appShell = Substitute.For<IApplicationShell>();
     _pss = Substitute.For<IProjectSystemServices>();
     _dacServices = Substitute.For<IDacPackageServices>();
 }