SerializationEntry.cs 625 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // System.Runtime.Serialization.SerializationEntry.cs
  3. //
  4. // Author: Duncan Mak ([email protected])
  5. //
  6. // (C) Ximian, Inc. http://www.ximian.com
  7. //
  8. namespace System.Runtime.Serialization
  9. {
  10. public struct SerializationEntry
  11. {
  12. string name;
  13. Type objectType;
  14. object value;
  15. // Properties
  16. public string Name
  17. {
  18. get { return name; }
  19. }
  20. public Type ObjectType
  21. {
  22. get { return objectType; }
  23. }
  24. public object Value
  25. {
  26. get { return value; }
  27. }
  28. internal SerializationEntry (string name, Type type, object value)
  29. {
  30. this.name = name;
  31. this.objectType = type;
  32. this.value = value;
  33. }
  34. }
  35. }