Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Models/Filter.cs @ 9266

Last change on this file since 9266 was 6141, checked in by mjesner, 13 years ago

#1499 new (non-recursive) view/architecture

File size: 664 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Web;
5
6namespace HLWebOKBQueryPlugin.OKBQueryService
7{
8    /// <summary>
9    /// Extend the Service class Filter with an
10    /// unique id.
11    /// </summary>
12    public partial class Filter
13    {
14
15        private Guid? _id = null;
16
17        public Guid Id
18        {
19            get
20            {
21                if (_id == null)
22                {
23                    _id = Guid.NewGuid();
24                }
25                return (Guid)_id;
26            }
27            set
28            {
29                this._id = value;
30            }
31        }
32    }
33}
Note: See TracBrowser for help on using the repository browser.