public DataSourceSetter(IDesignDataRepository designDataRepository,
                               IDesignReportMetadataAssociationRepository reportMetadataAssociationRepository,
     IDataSourceTraverser dataSourceTraverser)
 {
     _designDataRepository = designDataRepository;
     _reportMetadataAssociationRepository = reportMetadataAssociationRepository;
     _dataSourceTraverser = dataSourceTraverser;
 }
 private static DesignReportMetadataAssociationRepository init(out DataSourceSetter setter,
                                                                   out IDesignDataRepository datarep)
 {
     var providers = new List<IReportDatasourceFactory> { new DogTimeReportDatasourceProvider() };
     var dataDefRep = new DesignReportMetadataAssociationRepository();
     datarep = new DesignDataRepository(providers);
     setter = new DataSourceSetter(datarep, dataDefRep, new ObjectGraphPathTraverser());
     return dataDefRep;
 }
 public DesignDataContext2(IDesignReportMetadataAssociationRepository designDataDefinitionRepository, IDesignDataRepository designDataRepository)
 {
     DesignDataRepository = designDataRepository;
     DesignDataDefinitionRepository = designDataDefinitionRepository;
 }