Пример #1
0
 protected virtual bool IsPageEnabled(ModulePageInfo pageInfo)
 {
     return(pageInfo.IsEnabled);
 }
Пример #2
0
        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;        
        }