PageRenderTime 18ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/beta-1.0.2/Server/FastCgi/FastCgiSection.cs

#
C# | 35 lines | 22 code | 5 blank | 8 comment | 2 complexity | 2a6197cd41c714e5aa1d0594594e72c7 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 System;
11using Microsoft.Web.Administration;
12
13namespace Web.Management.PHP.FastCgi
14{
15
16    internal class FastCgiSection : ConfigurationSection
17    {
18        private FastCgiApplicationCollection _applications;
19
20        public FastCgiSection() {
21             }
22
23        public FastCgiApplicationCollection Applications
24        {
25            get
26            {
27                if (this._applications == null)
28                {
29                    this._applications = (FastCgiApplicationCollection)base.GetCollection(typeof(FastCgiApplicationCollection));
30                }
31                return this._applications;
32            }
33        }
34    }
35}