Skip to content

Commit

Permalink
Merge pull request #40 from mvSapphire/ChangedNamespace
Browse files Browse the repository at this point in the history
Changed namespace for DI
  • Loading branch information
mvSapphire authored Oct 9, 2023
2 parents 25e648e + 31b1329 commit ba8864a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions samples/PowerPipe.Sample/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading.Tasks;
using PowerPipe.Extensions.MicrosoftDependencyInjection;
using PowerPipe.Sample.Steps;

namespace PowerPipe.Sample;
Expand Down Expand Up @@ -51,4 +50,4 @@ private static IServiceProvider ConfigureServices()
return serviceProvider;
}

}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using System;
using PowerPipe.Factories;
using PowerPipe.Interfaces;
using Microsoft.Extensions.DependencyInjection;

namespace PowerPipe.Extensions.MicrosoftDependencyInjection;
namespace Microsoft.Extensions.DependencyInjection;

/// <summary>
/// Provides extension methods for configuring PowerPipe in Microsoft Dependency Injection (DI) services.
Expand Down Expand Up @@ -71,4 +70,4 @@ public static IServiceCollection AddPowerPipeCompensationStep<TStep, TContext>(
_ => throw new ArgumentOutOfRangeException(nameof(lifetime), lifetime, null)
};
}
}
}
3 changes: 1 addition & 2 deletions tests/PowerPipe.UnitTests/Fixtures/DIFixture.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using Microsoft.Extensions.DependencyInjection;
using PowerPipe.Extensions.MicrosoftDependencyInjection;
using PowerPipe.UnitTests.Steps;

namespace PowerPipe.UnitTests.Fixtures;
Expand All @@ -24,4 +23,4 @@ public DIFixture()
public void Dispose()
{
}
}
}
1 change: 0 additions & 1 deletion tests/PowerPipe.UnitTests/PipelineTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using NSubstitute;
using PowerPipe.Builder;
using PowerPipe.Builder.Steps;
using PowerPipe.Extensions.MicrosoftDependencyInjection;
using PowerPipe.Exceptions;
using PowerPipe.Factories;
using PowerPipe.UnitTests.Steps;
Expand Down

0 comments on commit ba8864a

Please sign in to comment.