public static ResponseDetails getMessageContentDetails(string checkedResponse) { string cleanedResponse = cleanReponse(checkedResponse); ResponseDetails response = new ResponseDetails() { bytes = getBytesInMessage(cleanedResponse), mode = getModeOfMessage(cleanedResponse), PID = getPIDOfMessage(cleanedResponse), message = getMessageContents(cleanedResponse) }; return response; }
public static ResponseDetails getMessageContentDetails(string checkedResponse) { string cleanedResponse = cleanReponse(checkedResponse); ResponseDetails response = new ResponseDetails() { bytes = getBytesInMessage(cleanedResponse), mode = getModeOfMessage(cleanedResponse), PID = getPIDOfMessage(cleanedResponse), message = getMessageContents(cleanedResponse) }; return(response); }