Advertisement
RyanFarley

Untitled

Jan 15th, 2018
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.85 KB | None | 0 0
  1. using System;
  2. using System.ComponentModel;
  3. using System.DirectoryServices;
  4. using Sage.Platform.Application;
  5. using Sage.Platform.WebPortal.Design;
  6.  
  7. namespace FX.Deployment
  8. {
  9.     public class SampleDeploymentAction : IDeploymentActionProvider
  10.     {
  11.         public bool RunOnBackgroundBuilds => true;
  12.  
  13.         public void AfterDeployment(PortalApplication application, BackgroundWorker worker)
  14.         {
  15.         }
  16.  
  17.         public void BeforeDeployment(PortalApplication application, BackgroundWorker worker)
  18.         {
  19.         }
  20.  
  21.         public IShadowCopyItem[] GetDeployableItems(PortalApplication portal, BackgroundWorker worker)
  22.         {
  23.             return new IShadowCopyItem[0];
  24.         }
  25.  
  26.         public void SetupDeployment(DirectoryEntry virtualDirectory, PortalApplication application, BackgroundWorker worker)
  27.         {
  28.         }
  29.     }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement