public void ApplyTo(IResponseWrapper responseWrapper) { ResponseContext context = new ResponseContext(); context.AddHeader(statusCode); representation.UpdateContext(context); context.ApplyTo(responseWrapper); }
public static Output For(IHeader header) { ResponseContext context = new ResponseContext(); context.AddHeader(header); return For(context); }