PageRenderTime 45ms CodeModel.GetById 22ms 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
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.FastCgi
  11. {
  12. public sealed class FastCgiSection : ConfigurationSection
  13. {
  14. private FastCgiApplicationCollection _applications;
  15. public FastCgiSection() {
  16. }
  17. public FastCgiApplicationCollection Applications
  18. {
  19. get
  20. {
  21. if (this._applications == null)
  22. {
  23. this._applications = (FastCgiApplicationCollection)base.GetCollection(typeof(FastCgiApplicationCollection));
  24. }
  25. return this._applications;
  26. }
  27. }
  28. }
  29. }