public RCItemChangedRecord(SerializationInfo info, StreamingContext context) { OptimizedAttributes = null; ssSTItemChanged = new STItemChangedStructure(null); Type objInfo = this.GetType(); FieldInfo fieldInfo = null; fieldInfo = objInfo.GetField("ssSTItemChanged", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Public); if (fieldInfo == null) { throw new Exception("The field named 'ssSTItemChanged' was not found."); } if (fieldInfo.FieldType.IsSerializable) { ssSTItemChanged = (STItemChangedStructure)info.GetValue(fieldInfo.Name, fieldInfo.FieldType); } }
public RCItemChangedRecord(params string[] dummy) { OptimizedAttributes = null; ssSTItemChanged = new STItemChangedStructure(null); }