Esempio n. 1
0
        public RCStruct_TypeTableRecord(SerializationInfo info, StreamingContext context)
        {
            OptimizedAttributes  = null;
            ssSTStruct_TypeTable = new STStruct_TypeTableStructure(null);
            Type      objInfo   = this.GetType();
            FieldInfo fieldInfo = null;

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