PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

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