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

            return For(context);
        }
        public static Output For(IHeader header)
        {
            ResponseContext context = new ResponseContext();
            context.AddHeader(header);

            return For(context);
        }
 public bool Matches(IRepresentation representation)
 {
     IResponseContext context = new ResponseContext();
     representation.UpdateContext(context);
     return context.ContainsHeader(header);
 }