/[dgee]/dgee/cslib/System/Web/UrlAttribute.cs
ViewVC logotype

Diff of /dgee/cslib/System/Web/UrlAttribute.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by npg, Mon Jul 7 16:23:52 2003 UTC revision 1.2 by csmith, Sun Sep 21 10:55:48 2003 UTC
# Line 0  Line 1 
1    /*
2     * DotGNU XmlRpc implementation
3     *
4     * Copyright (C) 2002 netFluid Technology Ltd
5     *
6     * This program is free software; you can redistribute it and/or modify
7     * it under the terms of the GNU General Public License as published by
8     * the Free Software Foundation; either version 2 of the License, or
9     * (at your option) any later version.
10     *
11     * This program is distributed in the hope that it will be useful,
12     * but WITHOUT ANY WARRANTY; without even the implied warranty of
13     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     * GNU General Public License for more details.
15     *
16     * You should have received a copy of the GNU General Public License
17     * along with this program; if not, write to the Free Software
18     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19     *
20     * $Revision$  $Date$
21     *
22     * --------------------------------------------------------------------------
23     */
24    
25    namespace System.Web
26    {
27      [AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface)]
28      public class UrlAttribute : Attribute
29      {
30        protected string uri;
31        
32        public UrlAttribute( string uri )
33        {
34          Uri = uri;
35        }
36    
37        public string Uri
38        {
39          get {
40            return uri;
41          }
42          set {
43            this.uri = value;
44          }
45        }
46    
47        public override string ToString()          
48        {
49          return "Uri: " + uri;
50        }
51      }
52    }
53    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26