public PropertyGroup(SerializationInfo info, StreamingContext context) { foreach (SerializationEntry se in info) { _properties.Add(se.Name, se.Value.ToString()); } }