Files
mono/mcs/class/corlib/System.Runtime.Serialization/SerializationEntry.cs
T
Duncan Mak 832e3630e9 2002-02-15 Duncan Mak <[email protected]>
* SerializationEntry.cs: Added internal constructor bits for
	      SerializationInfoEnumerator.
	    * SerializationInfo.cs: Completed.
	    * SerializationInfoEnumerator.cs: Implemented. Piggybacking on
	      Hashtable's GetEnumerator method.

svn path=/trunk/mcs/; revision=2436
2002-02-15 23:16:55 +00:00

41 lines
625 B
C#

//
// System.Runtime.Serialization.SerializationEntry.cs
//
// Author: Duncan Mak ([email protected])
//
// (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;
}
}
}