Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SerializationEntry.cs « System.Runtime.Serialization « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8221509892f01b0efaff90856e0509fb579c8ea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// System.Runtime.Serialization.SerializationEntry.cs
//
// Author: Duncan Mak (duncan@ximian.com)
//
// (C) Ximian, Inc. http://www.ximian.com
//

namespace System.Runtime.Serialization
{
	public struct SerializationEntry
	{
		string name;
		Type objectType;
		object value;
		
		// Properties
		public string Name
		{
			get { return name; }
		}

		public Type ObjectType
		{
			get { return objectType; }
		}

		public object Value
		{
			get { return value; }
		}

		internal SerializationEntry (string name, Type type, object value)
		{
			this.name = name;
			this.objectType = type;
			this.value = value;
		}
	}
}