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

            fieldInfo = objInfo.GetField("ssSTListNavigation_PageNumber", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Public);
            if (fieldInfo == null)
            {
                throw new Exception("The field named 'ssSTListNavigation_PageNumber' was not found.");
            }
            if (fieldInfo.FieldType.IsSerializable)
            {
                ssSTListNavigation_PageNumber = (STListNavigation_PageNumberStructure)info.GetValue(fieldInfo.Name, fieldInfo.FieldType);
            }
        }
示例#2
0
 public WORCListNavigation_PageNumberRecord(STListNavigation_PageNumberStructure r)
 {
     varWSNumber    = BaseAppUtils.RemoveControlChars(r.ssNumber);
     varWSIndex     = (int)r.ssIndex;
     varWSIsCurrent = (bool)r.ssIsCurrent;
 }
示例#3
0
 public RCListNavigation_PageNumberRecord(params string[] dummy)
 {
     OptimizedAttributes           = null;
     ssSTListNavigation_PageNumber = new STListNavigation_PageNumberStructure(null);
 }