public WORCExcel_ContactsRecord(STExcel_ContactsStructure r) { varWSName = BaseAppUtils.RemoveControlChars(r.ssName); varWSJobTitle = BaseAppUtils.RemoveControlChars(r.ssJobTitle); varWSPhone = BaseAppUtils.RemoveControlChars(r.ssPhone); varWSEmail = BaseAppUtils.RemoveControlChars(r.ssEmail); }
public RCExcel_ContactsRecord(SerializationInfo info, StreamingContext context) { OptimizedAttributes = null; ssSTExcel_Contacts = new STExcel_ContactsStructure(null); Type objInfo = this.GetType(); FieldInfo fieldInfo = null; fieldInfo = objInfo.GetField("ssSTExcel_Contacts", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Public); if (fieldInfo == null) { throw new Exception("The field named 'ssSTExcel_Contacts' was not found."); } if (fieldInfo.FieldType.IsSerializable) { ssSTExcel_Contacts = (STExcel_ContactsStructure)info.GetValue(fieldInfo.Name, fieldInfo.FieldType); } }
public RCExcel_ContactsRecord(params string[] dummy) { OptimizedAttributes = null; ssSTExcel_Contacts = new STExcel_ContactsStructure(null); }