Files
speckle-sharp-sdk/tests/Speckle.Sdk.Tests.Integration/TestServiceSetup.cs
T
Adam Hathcock d73bf365c2 Clean app plugin registration and all speckle plugin verisons (#123)
* Clean app plugin registration and all speckle plugin verisons

* fix naming
2024-09-20 09:32:29 +02:00

15 lines
423 B
C#

using Microsoft.Extensions.DependencyInjection;
using Speckle.Sdk.Host;
namespace Speckle.Sdk.Tests.Integration;
public static class TestServiceSetup
{
public static IServiceProvider GetServiceProvider()
{
var serviceCollection = new ServiceCollection();
serviceCollection.AddSpeckleSdk(HostApplications.Navisworks, HostAppVersion.v2023, "Test");
return serviceCollection.BuildServiceProvider();
}
}