* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / Microsoft.Web.Services / Microsoft.Web.Services.Routing / Via.cs
1 //
2 // Microsfot.Web.Services.Routing.Via.cs
3 //
4 // Author: Daniel Kornhauser <dkor@alum.mit.edu>
5 //
6 // Copyright (C) Ximian, Inc. 2003
7 //
8
9 using System;
10
11 namespace Microsoft.Web.Services.Routing {
12
13         public class Via: ICloneable
14         {
15                 Uri val;
16                 Uri vid;
17
18                 public Via()
19                 {
20                 }
21
22                 public Via (Uri value)
23                 {
24                         this.val = value;
25                 }
26
27                 private Via (Uri value, Uri vid)
28                 {
29                         this.val = value;
30                         this.vid = vid;
31                 }
32
33                 public Uri Value
34                 {
35                         get { return val; }
36                         set { val = value; }
37                 }
38
39                 public Uri Vid 
40                 {
41                         get { return vid; }
42                         set { vid = value; }
43                 }
44
45 #if WSE1
46                 public object Clone ()
47 #else
48                 public virtual object Clone ()
49 #endif
50                 {
51                         return new Via (val, vid);
52                 }
53                 
54         }
55 }               
56
57