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