2using System.Runtime.Serialization;
41 return container.
value;
65 value = (T) info.GetValue(
"value", typeof(T));
71 public void GetObjectData(SerializationInfo info, StreamingContext context)
73 info.AddValue(
"value",
value, typeof(T));
78 return "Container: " + this.value.ToString();
void GetObjectData(SerializationInfo info, StreamingContext context)
pb_ObjectContainer(SerializationInfo info, StreamingContext context)
new System.Type GetType()
T value
The value to be serialized.
override string ToString()
pb_ObjectContainer(T value)