Beispiel #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);
        }
Beispiel #2
0
 public TraceService(LoggingDomStorageRoutineHandler <TUserContext> storageRoutineHandler)
 => this.storageRoutineHandler = storageRoutineHandler;