Content() public méthode

public Content ( Func content ) : Response
content Func
Résultat Response
Exemple #1
0
			public void SetUp()
			{
				_response = new Response(HttpStatusCode.OK);
				_response.Content(() => "content");
			}
Exemple #2
0
			public void SetUp()
			{
				_response = new Response(HttpStatusCode.OK);
				_response.Content(() => new byte[] { 0, 1, 2, 3 });
			}