示例#1
0
 public LinksController(LinkWriter linkWriter,
                        LinkReader linkReader)
 {
     this.linkWriter = linkWriter;
     this.linkReader = linkReader;
 }
 public void WriteLinks(IEnumerable <Link> links)
 {
     LinkWriter.Write(_element, links);
 }
示例#3
0
 public LinkHub(LinkReader linkReader, LinkWriter linkWriter, ContextReader contextReader)
 {
     this.linkReader    = linkReader;
     this.linkWriter    = linkWriter;
     this.contextReader = contextReader;
 }