public void Write(Interaction interaction) { var tree = new XElement("tape", new XElement("interaction", MapRequest(interaction.Request), MapResponse(interaction.Response) ) ); tree.WriteTo(writer); }
public void Record(Interaction interaction) { tape.Write (interaction); }