public SampleTypeMoreController(ISampleTypeRepository rep, ISampleTypeApplicationService app, ILoggerFactory logger, EnviromentInfo env)
 {
     this._rep    = rep;
     this._app    = app;
     this._logger = logger.CreateLogger <SampleTypeMoreController>();
     this._env    = env;
 }
コード例 #2
0
 public SampleTypeServiceBase(ISampleTypeRepository rep, IValidatorSpecification <SampleType> validation, IWarningSpecification <SampleType> warning, ICache cache, CurrentUser user)
     : base(cache)
 {
     this._rep        = rep;
     this._user       = user;
     this._validation = validation;
     this._warning    = warning;
 }
コード例 #3
0
 public SampleTypeMoreController(ISampleTypeRepository rep, ISampleTypeApplicationService app, ILoggerFactory logger, EnviromentInfo env, CurrentUser user, ICache cache)
 {
     this._rep         = rep;
     this._app         = app;
     this._logger      = logger.CreateLogger <SampleTypeMoreController>();
     this._env         = env;
     this._user        = user;
     this._cache       = cache;
     this._cacheHelper = new CacheHelper(this._cache);
 }
コード例 #4
0
 public SampleTypeService(ISampleTypeRepository rep, IValidatorSpecification <SampleType> validation, IWarningSpecification <SampleType> warning, ICache cache, CurrentUser user)
     : base(rep, validation, warning, cache, user)
 {
 }
 public SampleTypeServiceBase(ISampleTypeRepository rep, ICache cache, CurrentUser user)
     : base(cache)
 {
     this._rep  = rep;
     this._user = user;
 }
 public SampleTypeAptoParaCadastroValidation(ISampleTypeRepository rep)
 {
     //base.Add(Guid.NewGuid().ToString(), new Rule<SampleType>(Instance of RuleClassName,"message for user"));
 }
コード例 #7
0
 public SaveSampleValidationService(ISampleTypeRepository sampleTypeRepository, IContainerTypeRepository containerTypeRepository)
 {
     _sampleTypeRepository    = sampleTypeRepository;
     _containerTypeRepository = containerTypeRepository;
 }
コード例 #8
0
 public SampleTypeMoreController(ISampleTypeRepository rep, ISampleTypeApplicationService app, ILoggerFactory logger, EnviromentInfo env, CurrentUser user, ICache cache)
     : base(rep, app, logger, env, user, cache, new ExportExcel <dynamic>(), new ErrorMapCustom())
 {
 }
コード例 #9
0
 public SampleTypeIsSuitableValidation(ISampleTypeRepository rep)
 {
     //base.Add(Guid.NewGuid().ToString(), new Rule<SampleType>(Instance of is suitable,"message for user"));
 }
コード例 #10
0
 public SampleTypeService(ISampleTypeRepository sampleTypeRepository, IMapper mapper)
 {
     _sampleTypeRepository = sampleTypeRepository;
     _mapper = mapper;
 }
 public SampleTypeIsSuitableWarning(ISampleTypeRepository rep)
 {
     //base.Add(Guid.NewGuid().ToString(), new Rule<SampleType>(Instance of suitable warning specification,"message for user"));
 }
コード例 #12
0
 public SampleTypeService(ISampleTypeRepository rep, ICache cache, CurrentUser user)
     : base(rep, cache, user)
 {
 }