public EmailVerificationUpdater(IAppStore appStore, IEmailServer emailServer, ISemanticLog log) { this.appStore = appStore; this.emailServer = emailServer; this.log = log; }
public static void LogDebug(this ISemanticLog log, Action <IObjectWriter> objectWriter) { log.Log(SemanticLogLevel.Debug, objectWriter); }
public static void LogWarning(this ISemanticLog log, Action <IObjectWriter> objectWriter) { log.Log(SemanticLogLevel.Warning, objectWriter); }
public StringLogger(string template, ISemanticLog log) { this.template = template; this.log = log; }
public Initializer(IEnumerable <IInitializable> initializables, ISemanticLog log) { this.initializables = initializables; this.log = log; }
public SiloHost(ISiloHost silo, ISemanticLog log, IApplicationLifetime lifetime) : base(lifetime, log) { this.silo = silo; }
public static ILoggerFactory AddSemanticLog(this ILoggerFactory factory, ISemanticLog log) { factory.AddProvider(new SemanticLogLoggerProvider(log)); return(factory); }
public SchemaDomainObject(IStore <DomainId> store, ISemanticLog log) : base(store, log) { }
public LoggingFilter(ISemanticLog log) { Guard.NotNull(log, nameof(log)); this.log = log; }
protected override Task StartAsync(ISemanticLog log, CancellationToken ct) { return(rebuildRunner.RunAsync(ct)); }
public InvitationEventConsumer(INotificationSender emailSender, IUserResolver userResolver, ISemanticLog log) { Guard.NotNull(emailSender, nameof(emailSender)); Guard.NotNull(userResolver, nameof(userResolver)); Guard.NotNull(log, nameof(log)); this.emailSender = emailSender; this.userResolver = userResolver; this.log = log; }
public RebuilderHost(IApplicationLifetime lifetime, ISemanticLog log, RebuildRunner rebuildRunner) : base(lifetime, log) { this.rebuildRunner = rebuildRunner; }
public PwnedPasswordValidator(ISemanticLog log) { Guard.NotNull(log); this.log = log; }
public RedisSubscription(ISubscriber subscriber, IJsonSerializer serializer, string channelName, ISemanticLog log) { this.log = log; this.serializer = serializer; this.subscriber = subscriber; this.subscriber.Subscribe(channelName, (channel, value) => HandleMessage(value)); this.channelName = channelName; }
public RuleDequeuerGrain(RuleService ruleService, IRuleEventRepository ruleEventRepository, ISemanticLog log, IClock clock) { Guard.NotNull(ruleEventRepository, nameof(ruleEventRepository)); Guard.NotNull(ruleService, nameof(ruleService)); Guard.NotNull(clock, nameof(clock)); Guard.NotNull(log, nameof(log)); this.ruleEventRepository = ruleEventRepository; this.ruleService = ruleService; this.clock = clock; this.log = log; requestBlock = new PartitionedActionBlock <IRuleEventEntity>(HandleAsync, x => x.Job.ExecutionPartition, new ExecutionDataflowBlockOptions { MaxDegreeOfParallelism = 32, BoundedCapacity = 32 }); }
public ContentDomainObject(IStore <Guid> store, IContentWorkflow contentWorkflow, ContentOperationContext context, ISemanticLog log) : base(store, log) { Guard.NotNull(context); Guard.NotNull(contentWorkflow); this.contentWorkflow = contentWorkflow; this.context = context; }
public BackgroundHost(ISemanticLog log, IEnumerable <IBackgroundProcess> systems) : base(log, systems) { }
public Migrator(IMigrationStatus migrationStatus, IMigrationPath migrationPath, ISemanticLog log) { Guard.NotNull(migrationStatus, nameof(migrationStatus)); Guard.NotNull(migrationPath, nameof(migrationPath)); Guard.NotNull(log, nameof(log)); this.migrationStatus = migrationStatus; this.migrationPath = migrationPath; this.log = log; }
protected override async Task StopAsync(ISemanticLog log, CancellationToken ct) { await silo.StopAsync(); }
protected DomainObjectBase(ISemanticLog log) { Guard.NotNull(log, nameof(log)); this.log = log; }
public AssetDomainObject(IStore <Guid> store, ITagService tagService, IAssetQueryService assetQuery, ISemanticLog log) : base(store, log) { Guard.NotNull(tagService, nameof(tagService)); Guard.NotNull(assetQuery, nameof(assetQuery)); this.tagService = tagService; this.assetQuery = assetQuery; }
public RequestExceptionMiddleware(IActionResultExecutor <ObjectResult> resultWriter, ISemanticLog log) { Guard.NotNull(resultWriter, nameof(resultWriter)); Guard.NotNull(log, nameof(log)); this.resultWriter = resultWriter; this.log = log; }
public LogConfigurationHost(ISemanticLog log, IConfiguration configuration) : base(log) { this.configuration = configuration; }
public LogCommandMiddleware(ISemanticLog log) { Guard.NotNull(log, nameof(log)); this.log = log; }
public static void LogTrace(this ISemanticLog log, Action <IObjectWriter> objectWriter) { log.Log(SemanticLogLevel.Trace, objectWriter); }
public RuleDequeuer(RuleService ruleService, IRuleEventRepository ruleEventRepository, ISemanticLog log, IClock clock) { Guard.NotNull(ruleEventRepository, nameof(ruleEventRepository)); Guard.NotNull(ruleService, nameof(ruleService)); Guard.NotNull(clock, nameof(clock)); Guard.NotNull(log, nameof(log)); this.ruleEventRepository = ruleEventRepository; this.ruleService = ruleService; this.clock = clock; this.log = log; requestBlock = new PartitionedActionBlock <IRuleEventEntity>(HandleAsync, x => x.Job.AggregateId.GetHashCode(), new ExecutionDataflowBlockOptions { MaxDegreeOfParallelism = 32, BoundedCapacity = 32 }); timer = new CompletionTimer(5000, QueryAsync); }
public static void LogInformation(this ISemanticLog log, Action <IObjectWriter> objectWriter) { log.Log(SemanticLogLevel.Information, objectWriter); }
public BackgroundHost(IEnumerable <IBackgroundProcess> targets, ISemanticLog log) : base(log) { this.targets = targets; }
public static void LogWarning(this ISemanticLog log, Exception exception, Action <IObjectWriter> objectWriter = null) { log.Log(SemanticLogLevel.Warning, writer => writer.WriteException(exception, objectWriter)); }
public LogCommandMiddleware(ISemanticLog log) { this.log = log; }