public override void ApplyToWindowsServiceComponent(WindowsServiceComponent windowsServiceComponent) { Logger.Instance.Log(LogLevel.Info, "\nDeploying component ({0}):\n", windowsServiceComponent.Id); string deploymentPackageSourcePath = Path.Combine(PathToDeploymentPackage, windowsServiceComponent.DeploymentPackageDirectoryName); if (Directory.Exists(deploymentPackageSourcePath)) { windowsServiceComponent.StopWindowsService(); } ApplyToCodeTreeComponent(windowsServiceComponent); if (Directory.Exists(deploymentPackageSourcePath)) { windowsServiceComponent.StartWindowsService(); } }
public override void ApplyToWindowsServiceComponent(WindowsServiceComponent windowsServiceComponent) { throw new NotImplementedException(); }
public abstract void ApplyToWindowsServiceComponent(WindowsServiceComponent windowsServiceComponent);