dolittle/DotNET.SDK

View on GitHub
Source/Aggregates/AggregateRootOperations.cs

Summary

Maintainability
A
2 hrs
Test Coverage
F
0%

Method Perform has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public async Task<TResponse> Perform<TResponse>(Func<TAggregate, TResponse> method, CancellationToken cancellationToken = default)
    {
        if(cancellationToken == default)
        {
            cancellationToken = _defaultTimeout();
Severity: Minor
Found in Source/Aggregates/AggregateRootOperations.cs - About 1 hr to fix

    Method Perform has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public async Task Perform(Func<TAggregate, Task> method, CancellationToken cancellationToken = default)
        {
            if(cancellationToken == default)
            {
                cancellationToken = _defaultTimeout();
    Severity: Minor
    Found in Source/Aggregates/AggregateRootOperations.cs - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status