PageRenderTime 31ms CodeModel.GetById 28ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/stable-1.1.2/Server/Handlers/HandlersSection.cs

#
C# | 31 lines | 19 code | 4 blank | 8 comment | 2 complexity | d501e8fdf198390be3bab19c40905059 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.Handlers
13{
14
15    internal class HandlersSection : ConfigurationSection
16    {
17        private HandlersCollection _handlers;
18
19        public HandlersCollection Handlers
20        {
21            get
22            {
23                if (this._handlers == null)
24                {
25                    this._handlers = (HandlersCollection)base.GetCollection(typeof(HandlersCollection));
26                }
27                return this._handlers;
28            }
29        }
30    }
31}