示例#1
0
 public SplitService(IRepository <string> dataAccess, IServiceRead readService, IAppConfiguration appConfig)
 {
     Require.ArgumentNotNull(dataAccess, "IDataService dataAccess");
     Require.ArgumentNotNull(readService, "IServiceRead readService");
     Require.ArgumentNotNull(dataAccess, "IAppConfiguration appConfig");
     _readService = readService;
     _dataAccess  = dataAccess;
     _appConfig   = appConfig;
 }
 public SspaService()
 {
     ProjectRegistry.InitIoC();
     _dataServiceRead = ObjectFactory.GetInstance <IServiceRead>();
 }