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