PageRenderTime 42ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
C# | 31 lines | 19 code | 4 blank | 8 comment | 2 complexity | d501e8fdf198390be3bab19c40905059 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  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. using Microsoft.Web.Administration;
  10. namespace Web.Management.PHP.Handlers
  11. {
  12. internal class HandlersSection : ConfigurationSection
  13. {
  14. private HandlersCollection _handlers;
  15. public HandlersCollection Handlers
  16. {
  17. get
  18. {
  19. if (this._handlers == null)
  20. {
  21. this._handlers = (HandlersCollection)base.GetCollection(typeof(HandlersCollection));
  22. }
  23. return this._handlers;
  24. }
  25. }
  26. }
  27. }