public AccountRepository(IMongoDatabase database, ITraceContextAccessor accessor) { this.accessor = accessor; collection = database.GetCollection <Account>("accounts"); }
public LoggingContextMiddleware(ITraceContextAccessor accessor) => this.accessor = accessor;
public TracingMiddleware(ITraceContextAccessor accessor) => this.accessor = accessor;