コード例 #1
0
ファイル: ServerController.cs プロジェクト: xtarting/certify
 public async Task <List <BindingInfo> > GetServerSiteList(StandardServerTypes serverType)
 {
     if (serverType == StandardServerTypes.IIS)
     {
         return(await _certifyManager.GetPrimaryWebSites(Management.CoreAppSettings.Current.IgnoreStoppedSites));
     }
     else
     {
         return(new List <BindingInfo>());
     }
 }
コード例 #2
0
ファイル: ServerController.cs プロジェクト: egbonrelu/certify
 public List <SiteBindingItem> GetServerSiteList(StandardServerTypes serverType)
 {
     if (serverType == StandardServerTypes.IIS)
     {
         return(_certifyManager.GetPrimaryWebSites(Management.CoreAppSettings.Current.IgnoreStoppedSites));
     }
     else
     {
         return(new List <SiteBindingItem>());
     }
 }