Esempio n. 1
0
 public HistoryBuilder(IApplicationClarifySession session,ISchemaCache schemaCache, IActEntryTemplatePolicyConfiguration templatePolicyConfiguration, ILocaleCache localeCache, IContainer container)
 {
     _session = session;
     _schemaCache = schemaCache;
     _templatePolicyConfiguration = templatePolicyConfiguration;
     _localeCache = localeCache;
     _container = container;
 }
Esempio n. 2
0
 public GetAllActiveLocalesQueryHandler(
     CofoundryDbContext dbContext,
     ILocaleCache cache
     )
 {
     _dbContext = dbContext;
     _cache     = cache;
 }
Esempio n. 3
0
 public HistoryBuilder(IApplicationClarifySession session, ISchemaCache schemaCache, IActEntryTemplatePolicyConfiguration templatePolicyConfiguration, ILocaleCache localeCache, IContainer container)
 {
     _session     = session;
     _schemaCache = schemaCache;
     _templatePolicyConfiguration = templatePolicyConfiguration;
     _localeCache = localeCache;
     _container   = container;
 }
 public GetAllActiveLocalesQueryHandler(
     CofoundryDbContext dbContext,
     ILocaleCache cache,
     IActiveLocaleMapper activeLocaleMapper
     )
 {
     _dbContext          = dbContext;
     _cache              = cache;
     _activeLocaleMapper = activeLocaleMapper;
 }
 public UserDataAccess(IApplicationClarifySession session,
                       ILocaleCache localeCache,
                       IUserImpersonationService userImpersonationService,
                       ILogger logger)
 {
     _session     = session;
     _localeCache = localeCache;
     _userImpersonationService = userImpersonationService;
     _logger = logger;
 }
Esempio n. 6
0
        public CurrentSDKUser(DovetailDatabaseSettings settings, ILocaleCache localeCache, IUserDataAccess userDataAccess)
        {
            _settings       = settings;
            _userDataAccess = userDataAccess;
            _localeCache    = localeCache;

            //set up defaults
            SignOut();

            _user = new Lazy <SDKUser>(() => _userDataAccess.GetUser(Username));
        }
Esempio n. 7
0
        public CurrentSDKUser(DovetailDatabaseSettings settings, ILocaleCache localeCache, IUserDataAccess userDataAccess)
        {
            _settings = settings;
            _userDataAccess = userDataAccess;
            _localeCache = localeCache;

            //set up defaults
            SignOut();

            _user = new Lazy<SDKUser>(()=> _userDataAccess.GetUser(Username));
        }
        public CurrentSDKUser(DovetailDatabaseSettings settings, ILocaleCache localeCache, IUserDataAccess userDataAccess, ILogger logger)
        {
            _settings = settings;
            _userDataAccess = userDataAccess;
            _logger = logger;
            _localeCache = localeCache;

            //set up defaults
            SignOut();

            _user = new Lazy<SDKUser>(()=> _userDataAccess.GetUser(Username));
            _timezone = new Lazy<ITimeZone>(() => _user.Value.Timezone);
        }
Esempio n. 9
0
        public CurrentSDKUser(DovetailDatabaseSettings settings,
                              ILocaleCache localeCache,
                              IUserDataAccess userDataAccess,
                              IClarifySessionCache sessionCache,
                              ILogger logger)
        {
            _settings       = settings;
            _userDataAccess = userDataAccess;
            _sessionCache   = sessionCache;
            _logger         = logger;
            _localeCache    = localeCache;

            //set up defaults
            SignOut();
        }
        public CurrentSDKUser(DovetailDatabaseSettings settings, 
            ILocaleCache localeCache,
            IUserDataAccess userDataAccess,
            IClarifySessionCache sessionCache,
            ILogger logger)
        {
            _settings = settings;
            _userDataAccess = userDataAccess;
            _sessionCache = sessionCache;
            _logger = logger;
            _localeCache = localeCache;

            //set up defaults
            SignOut();
        }
Esempio n. 11
0
 public static void Append <T>(this ILocaleCache cache, Expression <Func <T, object> > property, string value)
 {
     cache.Append(new LocalizationKey(PropertyToken.For(property).StringTokenKey), value);
 }
Esempio n. 12
0
 public ClarifyListCache(IListCache listCache, ILocaleCache localeCache)
 {
     _listCache   = listCache;
     _localeCache = localeCache;
 }
Esempio n. 13
0
 public HistoryItemAssembler(IDictionary <int, ActEntryTemplate> templatesByCode, WorkflowObject workflowObject, ILocaleCache localeCache)
 {
     _templatesByCode = templatesByCode;
     _workflowObject  = workflowObject;
     _localeCache     = localeCache;
 }
Esempio n. 14
0
 public LocalizationProvider(ILocaleCache localeCache, ILocalizationMissingHandler missingHandler)
 {
     _localeCache    = localeCache;
     _missingHandler = missingHandler;
 }
 public UTCTimezoneUserClarifySessionConfigurator(ILocaleCache localeCache)
 {
     _localeCache = localeCache;
 }
 public LocalizationProvider(ILocaleCache localeCache, ILocalizationMissingHandler missingHandler)
 {
     _localeCache = localeCache;
     _missingHandler = missingHandler;
 }
Esempio n. 17
0
 public UserDataAccess(IApplicationClarifySession session, ILocaleCache localeCache, ILogger logger)
 {
     _session     = session;
     _localeCache = localeCache;
     _logger      = logger;
 }
 public UserDataAccess(IApplicationClarifySession session,
     ILocaleCache localeCache,
     IUserImpersonationService userImpersonationService,
     ILogger logger)
 {
     _session = session;
     _localeCache = localeCache;
     _userImpersonationService = userImpersonationService;
     _logger = logger;
 }
Esempio n. 19
0
 public static void Append(this ILocaleCache cache, StringToken token, string value)
 {
     cache.Append(token.ToLocalizationKey(), value);
 }
 public ClarifySessionListener(ILocaleCache locale)
 {
     _locale = locale;
 }
 public ClarifySessionListener(ILocaleCache locale)
 {
     _locale = locale;
 }
Esempio n. 22
0
 public UserDataAccess(IApplicationClarifySession session, ILocaleCache localeCache, ILogger logger)
 {
     _session = session;
     _localeCache = localeCache;
     _logger = logger;
 }
Esempio n. 23
0
 public UTCTimezoneUserClarifySessionConfigurator(ILocaleCache localeCache)
 {
     _localeCache = localeCache;
 }
Esempio n. 24
0
 public ClarifyListCache(IListCache listCache, ILocaleCache localeCache)
 {
     _listCache = listCache;
     _localeCache = localeCache;
 }