summaryrefslogtreecommitdiff
path: root/src/app/Cmpp298.Assignment3.Dto/DropDownListItem.cs
blob: de3511668dc78e9baeacc864d80ff099f276fe05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace Cmpp298.Assignment3.Dto {
	public 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;
	}
}