10using System.Collections.Generic;
15 internal static class PersonSerializationInfoFactory
23 serializationInfo.
AddValue(
"_middleName",
"");
24 serializationInfo.
AddValue(
"PersonId", 5);
25 serializationInfo.
AddValue(
"FirstName",
"");
26 serializationInfo.
AddValue(
"LastName",
"");
28 serializationInfo.
AddValue(
"NonSerializedText",
"");
29 serializationInfo.
AddValue(
"PrivateText",
"");
30 serializationInfo.
AddValue(
"PrivateSerializedText",
"");
32 return serializationInfo;
Object containing the serialization data for a specific object.
void AddValue(string name, object value)
Adds a value to the serialization stream.