PageRenderTime 23ms CodeModel.GetById 16ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/stable-1.2.0/Server/FastCgi/FastCgiSection.cs

#
C# | 34 lines | 21 code | 5 blank | 8 comment | 2 complexity | f9cf8068dcaaf34f0b9e8eebffd6c98b MD5 | raw file
 1//-----------------------------------------------------------------------
 2// <copyright>
 3// Copyright (C) Ruslan Yakushev for the PHP Manager for IIS project.
 4//
 5// This file is subject to the terms and conditions of the Microsoft Public License (MS-PL).
 6// See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL for more details.
 7// </copyright>
 8//----------------------------------------------------------------------- 
 9
10using Microsoft.Web.Administration;
11
12namespace Web.Management.PHP.FastCgi
13{
14
15    public sealed class FastCgiSection : ConfigurationSection
16    {
17        private FastCgiApplicationCollection _applications;
18
19        public FastCgiSection() {
20             }
21
22        public FastCgiApplicationCollection Applications
23        {
24            get
25            {
26                if (this._applications == null)
27                {
28                    this._applications = (FastCgiApplicationCollection)base.GetCollection(typeof(FastCgiApplicationCollection));
29                }
30                return this._applications;
31            }
32        }
33    }
34}