public ProductMoreController(IProductRepository rep, IProductApplicationService app, ILoggerFactory logger, EnviromentInfo env)
 {
     this._rep    = rep;
     this._app    = app;
     this._logger = logger.CreateLogger <ProductMoreController>();
     this._env    = env;
 }
Пример #2
0
 public SampleStandartMoreController(ISampleStandartRepository rep, ISampleStandartApplicationService app, ILoggerFactory logger, EnviromentInfo env)
 {
     this._rep    = rep;
     this._app    = app;
     this._logger = logger.CreateLogger <SampleStandartMoreController>();
     this._env    = env;
 }
Пример #3
0
 public ManySampleTypeMoreController(IManySampleTypeRepository rep, IManySampleTypeApplicationService app, ILoggerFactory logger, EnviromentInfo env)
 {
     this._rep    = rep;
     this._app    = app;
     this._logger = logger.CreateLogger <ManySampleTypeMoreController>();
     this._env    = env;
 }
Пример #4
0
 public GroupParticipantMoreController(IGroupParticipantRepository rep, IGroupParticipantApplicationService app, ILoggerFactory logger, EnviromentInfo env, CurrentUser user)
 {
     this._rep    = rep;
     this._app    = app;
     this._logger = logger.CreateLogger <GroupParticipantMoreController>();
     this._env    = env;
     this._user   = user;
 }
Пример #5
0
 public TypeUserMoreController(ITypeUserRepository rep, ITypeUserApplicationService app, ILoggerFactory logger, EnviromentInfo env, CurrentUser user)
 {
     this._rep    = rep;
     this._app    = app;
     this._logger = logger.CreateLogger <TypeUserMoreController>();
     this._env    = env;
     this._user   = user;
 }
 public StatusCodigoMoreController(IStatusCodigoRepository rep, IStatusCodigoApplicationService app, ILoggerFactory logger, EnviromentInfo env, CurrentUser user)
 {
     this._rep    = rep;
     this._app    = app;
     this._logger = logger.CreateLogger <StatusCodigoMoreController>();
     this._env    = env;
     this._user   = user;
 }
 public SampleMoreController(ISampleRepository rep, ISampleApplicationService app, ILoggerFactory logger, EnviromentInfo env, CurrentUser user, ICache cache)
 {
     this._rep         = rep;
     this._app         = app;
     this._logger      = logger.CreateLogger <SampleMoreController>();
     this._env         = env;
     this._user        = user;
     this._cache       = cache;
     this._cacheHelper = new CacheHelper(this._cache);
 }
 public ControllerMoreBase(IRepositoryExtensions <TEntity, TFilter> rep, IApplicationServiceBase <TDto> app, ILoggerFactory logger, EnviromentInfo env, CurrentUser user, ICache cache, ExportExcel <dynamic> export, ErrorMap err)
 {
     this._rep         = rep;
     this._app         = app;
     this._logger      = logger.CreateLogger <Controller>();
     this._env         = env;
     this._user        = user;
     this._cache       = cache;
     this._cacheHelper = new CacheHelper(this._cache);
     this._export      = export;
     this._err         = err;
 }
Пример #9
0
        public void Test()
        {
            var info = EnviromentInfo.GetCurrent();
            var text = TypeSerializer <EnviromentInfo> .ToXmlString(info);

            Assert.IsNotEmpty(text);
            Console.WriteLine(text);
            // Console.WriteLine(Environment.WorkingSet);

            //Console.WriteLine(WindowsIdentity.GetCurrent().Name);
            //Console.WriteLine(System.Threading.Thread.CurrentPrincipal.Identity.Name);

            //foreach (var gr in WindowsIdentity.GetCurrent().Groups)
            //{

            //    Console.WriteLine(gr.Translate(typeof(NTAccount)).Value);

            //}
        }
Пример #10
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())
 {
 }