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