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