示例#1
0
        public RCTypeTableRecord(SerializationInfo info, StreamingContext context)
        {
            OptimizedAttributes = null;
            ssENTypeTable       = new ENTypeTableEntityRecord(null);
            Type      objInfo   = this.GetType();
            FieldInfo fieldInfo = null;

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