Example #1
0
 public Core(
     IDataProvider dataProvider,
     IWcfClient wcfClient,
     IMetamorphoses metamorphosis,
     IXmlSerializer xmlSerializer,
     IExcelService excelService,
     ICellsNormalizer cellsNormalizer,
     IPluginService pluginService)
 {
     this.metamorphosis   = metamorphosis;
     this.xmlSerializer   = xmlSerializer;
     this.excelService    = excelService;
     this.dataProvider    = dataProvider;
     this.wcfClient       = wcfClient;
     this.cellsNormalizer = cellsNormalizer;
     this.pluginService   = pluginService;
     DeserializeConfigs();
     dataProvider.Configure(config.ConnectionString);
     dataProvider.Configure(config.ConnectionTimeOut);
     dataProvider.Init();
     wcfClient.SetUrl(config.WcfServiceAddress);
     Initializing();
 }