PageRenderTime 53ms CodeModel.GetById 29ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/stable-1.0.3/Server/FastCgi/EnvironmentVariableElement.cs

#
C# | 43 lines | 29 code | 6 blank | 8 comment | 0 complexity | f4bdb5ddd0694ddc3bc996acbb3a25f9 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. internal class EnvironmentVariableElement : ConfigurationElement
  13. {
  14. public string Name
  15. {
  16. get
  17. {
  18. return (string)base["name"];
  19. }
  20. set
  21. {
  22. base["name"] = value;
  23. }
  24. }
  25. public string Value
  26. {
  27. get
  28. {
  29. return (string)base["value"];
  30. }
  31. set
  32. {
  33. base["value"] = value;
  34. }
  35. }
  36. }
  37. }