Пример #1
0
 public HistogramService(
     IHistogramVisitableFactory factory,
     IHistogramVisitor visitor)
 {
     _factory = factory;
     _visitor = visitor;
 }
Пример #2
0
 public IHistogramVisitable Accept(IHistogramVisitor visitor)
 {
     _visitor = visitor;
     return(this);
 }