Exemple #1
0
        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);
            }
        }
Exemple #2
0
 public RCItemChangedRecord(params string[] dummy)
 {
     OptimizedAttributes = null;
     ssSTItemChanged     = new STItemChangedStructure(null);
 }