Example #1
0
        public RCIgnoreItemRecord(SerializationInfo info, StreamingContext context)
        {
            OptimizedAttributes = null;
            ssSTIgnoreItem      = new STIgnoreItemStructure(null);
            Type      objInfo   = this.GetType();
            FieldInfo fieldInfo = null;

            fieldInfo = objInfo.GetField("ssSTIgnoreItem", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Public);
            if (fieldInfo == null)
            {
                throw new Exception("The field named 'ssSTIgnoreItem' was not found.");
            }
            if (fieldInfo.FieldType.IsSerializable)
            {
                ssSTIgnoreItem = (STIgnoreItemStructure)info.GetValue(fieldInfo.Name, fieldInfo.FieldType);
            }
        }
Example #2
0
 public RCIgnoreItemRecord(params string[] dummy)
 {
     OptimizedAttributes = null;
     ssSTIgnoreItem      = new STIgnoreItemStructure(null);
 }