/// <inheritdoc/> public ExecutionContext CurrentFor(TenantId tenant, CorrelationId correlationId, string filePath, int lineNumber, string member) { return(CurrentFor(tenant, correlationId, Claims.Empty, filePath, lineNumber, member)); }
/// <inheritdoc/> public ExecutionContext System(CorrelationId correlationId, string filePath, int lineNumber, string member) { return(CurrentFor(TenantId.System, correlationId, filePath, lineNumber, member)); }
/// <inheritdoc/> public ExecutionContext CurrentFor(Microservice microservice, TenantId tenant, CorrelationId correlationId, Claims claims, string filePath, int lineNumber, string member) { var executionContext = new ExecutionContext( microservice, tenant, _version, _environment, correlationId, claims, CultureInfo.CurrentCulture); return(CurrentFor(executionContext, filePath, lineNumber, member)); }
/// <inheritdoc/> public ExecutionContext CurrentFor(TenantId tenant, CorrelationId correlationId, Claims claims, string filePath, int lineNumber, string member) => CurrentFor(_microservice, tenant, correlationId, claims, filePath, lineNumber, member);
/// <inheritdoc/> public ExecutionContext CurrentFor(Microservice microservice, TenantId tenant, CorrelationId correlationId, string filePath, int lineNumber, string member) => CurrentFor(microservice, tenant, correlationId, Claims.Empty, filePath, lineNumber, member);
/// <inheritdoc/> public ExecutionContext CurrentFor(TenantId tenant, string filePath, int lineNumber, string member) => CurrentFor(_microservice, tenant, CorrelationId.New(), Claims.Empty, filePath, lineNumber, member);