/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. using System;
  10. using Microsoft.Web.Administration;
  11. namespace Web.Management.PHP.FastCgi
  12. {
  13. internal class FastCgiSection : ConfigurationSection
  14. {
  15. private FastCgiApplicationCollection _applications;
  16. public FastCgiSection() {
  17. }
  18. public FastCgiApplicationCollection Applications
  19. {
  20. get
  21. {
  22. if (this._applications == null)
  23. {
  24. this._applications = (FastCgiApplicationCollection)base.GetCollection(typeof(FastCgiApplicationCollection));
  25. }
  26. return this._applications;
  27. }
  28. }
  29. }
  30. }