// TODO -- need some end to end testing on this monster public void Write(string mimeType, T resource) { writeData(new SimpleValues <T>(resource)); _document.Write(_writer, mimeType); }
public void Write(IValues <T> source, IOutputWriter writer) { writeData(source); _document.Write(writer); }