Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HLWebOKBQueryPlugin/ViewModels/ComparisonItem.cs @ 8541

Last change on this file since 8541 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 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Web;
5
6namespace 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.