Tue Sep 10 12:12:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / class / corlib / System.Runtime.Serialization / SerializationEntry.cs
1 //
2 // System.Runtime.Serialization.SerializationEntry.cs
3 //
4 // Author: Duncan Mak (duncan@ximian.com)
5 //
6 // (C) Ximian, Inc. http://www.ximian.com
7 //
8
9 namespace System.Runtime.Serialization
10 {
11         public struct SerializationEntry
12         {
13                 string name;
14                 Type objectType;
15                 object value;
16                 
17                 // Properties
18                 public string Name
19                 {
20                         get { return name; }
21                 }
22
23                 public Type ObjectType
24                 {
25                         get { return objectType; }
26                 }
27
28                 public object Value
29                 {
30                         get { return value; }
31                 }
32
33                 internal SerializationEntry (string name, Type type, object value)
34                 {
35                         this.name = name;
36                         this.objectType = type;
37                         this.value = value;
38                 }
39         }
40 }