protected virtual bool IsPageEnabled(ModulePageInfo pageInfo) { return(pageInfo.IsEnabled); }
public Microsoft.Web.Management.Client.TaskList GetTaskList(IServiceProvider serviceProvider, Microsoft.Web.Management.Client.ModulePageInfo selectedModulePage) { TaskList taskList = new TestTaskList(); Connection connection = (Connection)serviceProvider.GetService(typeof(Connection)); if (connection.ConfigurationPath.PathType == ConfigurationPathType.Site) { string siteName = connection.ConfigurationPath.SiteName; module.ServiceProxy.GetSiteBindings(siteName); } return taskList; }