public RCFeedback_MessageRecord(SerializationInfo info, StreamingContext context) { OptimizedAttributes = null; ssSTFeedback_Message = new STFeedback_MessageStructure(null); Type objInfo = this.GetType(); FieldInfo fieldInfo = null; fieldInfo = objInfo.GetField("ssSTFeedback_Message", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Public); if (fieldInfo == null) { throw new Exception("The field named 'ssSTFeedback_Message' was not found."); } if (fieldInfo.FieldType.IsSerializable) { ssSTFeedback_Message = (STFeedback_MessageStructure)info.GetValue(fieldInfo.Name, fieldInfo.FieldType); } }
public WORCFeedback_MessageRecord(STFeedback_MessageStructure r) { varWSMessageText = BaseAppUtils.RemoveControlChars(r.ssMessageText); varWSMessageType = (int)r.ssMessageType; }
public RCFeedback_MessageRecord(params string[] dummy) { OptimizedAttributes = null; ssSTFeedback_Message = new STFeedback_MessageStructure(null); }