summaryrefslogtreecommitdiff
path: root/src/app/Cmpp298.Assignment3.Dto/DropDownListItem.cs
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2007-08-26 20:10:42 -0600
committermo khan <mo@mokhan.ca>2007-08-26 20:10:42 -0600
commit330be9feefb6394479553be0e078b4c4df3cbff1 (patch)
tree55618c8af0d36583cde0ea5b4b193b98815a35aa /src/app/Cmpp298.Assignment3.Dto/DropDownListItem.cs
import from svntrunk
Diffstat (limited to 'src/app/Cmpp298.Assignment3.Dto/DropDownListItem.cs')
-rw-r--r--src/app/Cmpp298.Assignment3.Dto/DropDownListItem.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/app/Cmpp298.Assignment3.Dto/DropDownListItem.cs b/src/app/Cmpp298.Assignment3.Dto/DropDownListItem.cs
new file mode 100644
index 0000000..de35116
--- /dev/null
+++ b/src/app/Cmpp298.Assignment3.Dto/DropDownListItem.cs
@@ -0,0 +1,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;
+ }
+} \ No newline at end of file