示例#1
0
 public SiteProvisioningManager(SiteRequestInformation siteRequest, Template template)
 {
     if (template.SharePointOnPremises)
     {
         _siteprovisioningService = new OnPremSiteProvisioningService();
     }
     else
     {
         _siteprovisioningService = new Office365SiteProvisioningService();
     }
 }
示例#2
0
 public SiteProvisioningManager(SiteInformation siteRequest, Template template)
 {
     if (template.SharePointOnPremises)
     {
         _siteprovisioningService = new OnPremSiteProvisioningService();
     }
     else
     {
         _siteprovisioningService = new Office365SiteProvisioningService();
     }
 }