summaryrefslogtreecommitdiff
path: root/DesignPatterns/src/app/DesignPatterns.Adapter/DropDownListItem.cs
blob: 7c30efb2279f9c10ff6823b3e04ca32316372ad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace DesignPatterns.Adapter {
	internal class DropDownListItem : IDropDownListItem {
		public DropDownListItem( string text, string value ) {
			_text = text;
			_value = value;
		}

		public string Text {
			get { return _text; }
		}

		public string Value {
			get { return _value; }
		}

		private readonly string _text;
		private readonly string _value;
	}
}