Exemplo n.º 1
0
        public Handlers.HandlersSection GetHandlersSection()
        {
            ManagementConfiguration config = _managementUnit.Configuration;

            return((Handlers.HandlersSection)config.GetSection("system.webServer/handlers", typeof(Handlers.HandlersSection)));
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of <see cref="Configuration"/>
 /// </summary>
 public Configuration()
 {
     Interaction = new InteractionConfiguration();
     Management  = new ManagementConfiguration();
 }
Exemplo n.º 3
0
        public DefaultDocument.DefaultDocumentSection GetDefaultDocumentSection()
        {
            ManagementConfiguration config = _managementUnit.Configuration;

            return((DefaultDocument.DefaultDocumentSection)config.GetSection("system.webServer/defaultDocument", typeof(DefaultDocument.DefaultDocumentSection)));
        }