diff options
Diffstat (limited to 'src/app/Cmpp298.Assignment3.Dto/DropDownListItem.cs')
| -rw-r--r-- | src/app/Cmpp298.Assignment3.Dto/DropDownListItem.cs | 19 |
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 |
