Esempio n. 1
0
        public LoggingDomStorageRoutineHandler <TUserContext> ResolveLoggingDomDbContextHandler()
        {
            var adminkaDbContextHandler = new LoggingDomStorageRoutineHandler <TUserContext>(
                applicationSettings.AdminkaStorageConfiguration,
                closure.UserContext,
                null,
                new Handler <RoutineClosure <TUserContext>, RoutineClosure <TUserContext> >(
                    () => closure,
                    closure
                    ),
                getAuditStamp
                );

            return(adminkaDbContextHandler);
        }
Esempio n. 2
0
 public TraceService(LoggingDomStorageRoutineHandler <TUserContext> storageRoutineHandler)
 => this.storageRoutineHandler = storageRoutineHandler;