/tags/stable-1.1.1/Server/DefaultDocument/DefaultDocumentSection.cs
C# | 32 lines | 20 code | 4 blank | 8 comment | 2 complexity | aa7158c7f43c5ec2ed7c904e513f5843 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
- //-----------------------------------------------------------------------
- // <copyright>
- // Copyright (C) Ruslan Yakushev for the PHP Manager for IIS project.
- //
- // This file is subject to the terms and conditions of the Microsoft Public License (MS-PL).
- // See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL for more details.
- // </copyright>
- //-----------------------------------------------------------------------
-
- using Microsoft.Web.Administration;
-
- namespace Web.Management.PHP.DefaultDocument
- {
-
- internal class DefaultDocumentSection : ConfigurationSection
- {
- private FilesCollection _files;
-
- public FilesCollection Files
- {
- get
- {
- if (this._files == null)
- {
- ConfigurationElement files = base.GetChildElement("files");
- this._files = (FilesCollection)files.GetCollection(typeof(FilesCollection));
- }
- return this._files;
- }
- }
- }
- }