Exemplo n.º 1
0
 public SampleGraphPairFactory(
     ISampleGraphFactory <TSourceItem, TSourceEdge> factory,
     GraphItemTransformer <TSinkItem, TSourceItem, TSinkEdge, TSourceEdge> transformer)
 {
     this._factory     = factory;
     this._transformer = transformer;
     this._mapper      =
         new GraphMapper <TSinkItem, TSourceItem, TSinkEdge, TSourceEdge> (Transformer);
 }
Exemplo n.º 2
0
 public ReverseGraphItemTransformer(GraphItemTransformer <TSourceItem, TSinkItem, TSourceEdge, TSinkEdge> source)
 {
     this.source = source;
 }