public void ApplyTo(IResponseWrapper responseWrapper)
 {
     ResponseContext context = new ResponseContext();
     context.AddHeader(statusCode);
     representation.UpdateContext(context);
     context.ApplyTo(responseWrapper);
 }
コード例 #2
0
        public static Output For(IHeader header)
        {
            ResponseContext context = new ResponseContext();
            context.AddHeader(header);

            return For(context);
        }