Last change
on this file since 10207 was
6190,
checked in by dhohl, 14 years ago
|
#1499 refactor, first part of the comparison combobox for the different filters, Controls for the Filters
|
File size:
625 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Web;
|
---|
5 |
|
---|
6 | namespace HLWebOKBQueryPlugin.ViewModels
|
---|
7 | {
|
---|
8 | public class ComparisonItem
|
---|
9 | {
|
---|
10 | private int comparisonID;
|
---|
11 | private string text;
|
---|
12 |
|
---|
13 | public string Text
|
---|
14 | {
|
---|
15 | get { return text; }
|
---|
16 | }
|
---|
17 |
|
---|
18 | public string Value
|
---|
19 | {
|
---|
20 | get { return comparisonID.ToString(); }
|
---|
21 | }
|
---|
22 |
|
---|
23 | public ComparisonItem(int comparisonID, string text)
|
---|
24 | {
|
---|
25 |
|
---|
26 | this.text = text;
|
---|
27 | this.comparisonID = comparisonID;
|
---|
28 | }
|
---|
29 |
|
---|
30 |
|
---|
31 | }
|
---|
32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.