~ubuntu-branches/ubuntu/warty/monodevelop/warty

« back to all changes in this revision

Viewing changes to src/Main/Base/Internal/Parser/Comment.cs

  • Committer: Bazaar Package Importer
  • Author(s): Brandon Hale
  • Date: 2004-10-07 11:51:11 UTC
  • Revision ID: james.westby@ubuntu.com-20041007115111-pxcqnwfxyq5mhcx5
Tags: 0.5.1-3
Use dh_netdeps in debian/rules and debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// <file>
 
2
//     <copyright see="prj:///doc/copyright.txt"/>
 
3
//     <license see="prj:///doc/license.txt"/>
 
4
//     <owner name="Andrea Paatz" email="andrea@icsharpcode.net"/>
 
5
//     <version value="$version"/>
 
6
// </file>
 
7
using System;
 
8
 
 
9
namespace MonoDevelop.Internal.Parser
 
10
{
 
11
        [Serializable]
 
12
        public class Comment : System.MarshalByRefObject
 
13
        {
 
14
                string commentString;
 
15
                IRegion region;
 
16
                
 
17
                public string CommentString {
 
18
                        get {
 
19
                                return commentString;
 
20
                        }
 
21
                        set {
 
22
                                commentString = value;
 
23
                        }
 
24
                }
 
25
                
 
26
                public IRegion Region {
 
27
                        get {
 
28
                                return region;
 
29
                        }
 
30
                        set {
 
31
                                region = value;
 
32
                        }
 
33
                }
 
34
                
 
35
                public Comment(IRegion region)
 
36
                {
 
37
                        this.region = region;
 
38
                }
 
39
                public Comment (IRegion region, string comment) : this(region)
 
40
                {
 
41
                        commentString = comment;
 
42
                }
 
43
        }
 
44
}