internal static CfTextRecord FromTextRecord(TextRecord source) { if (source == null) { return null; } var result = EnumeratedMapper.EnumFromSoapEnumerated<CfResult>(source.Result); var questionResponse = ActionRecordQuestionResponseMapper.FromActionRecordQuestionResponse(source.QuestionResponse); return new CfTextRecord(result, source.FinishTime, source.BilledAmount, questionResponse, source.id, source.Message); }
internal static CfTextRecord[] FromTextRecord(TextRecord[] source) { return source == null ? null : source.Select(FromTextRecord).ToArray(); }