예제 #1
0
 public EmailMessageService(IBusClient busClient,
                            ILocalizedResourceRepository localizedResourceRepository,
                            GeneralSettings settings)
 {
     _busClient = busClient;
     _localizedResourceRepository = localizedResourceRepository;
     _settings = settings;
 }
        public LocalizedResourceController(ILocalizedResourceRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.ToLong();
            this._UserId   = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog  = catalog;

            this.LocalizedResourceRepository = repository;
        }
        public LocalizedResourceController(ILocalizedResourceRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.ToLong();
            this._UserId = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog = catalog;

            this.LocalizedResourceRepository = repository;
        }
        public LocalizedResourceController()
        {
            this._LoginId  = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId   = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog  = AppUsers.GetCurrentUserDB();

            this.LocalizedResourceRepository = new MixERP.Net.Schemas.Localization.Data.LocalizedResource
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
        public LocalizedResourceController()
        {
            this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog = AppUsers.GetCurrentUserDB();

            this.LocalizedResourceRepository = new MixERP.Net.Schemas.Localization.Data.LocalizedResource
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
 public LocalizedResourceService(ILocalizedResourceRepository localizedResourceRepository,
                                 IRepository <Language> languageRepository)
 {
     _localizedResourceRepository = localizedResourceRepository;
     _languageRepository          = languageRepository;
 }
예제 #7
0
 public LocalizedResourceService(ILocalizedResourceRepository localizedResourceRepository)
 {
     _localizedResourceRepository = localizedResourceRepository;
 }