d6f6254a92
.NET Build and Publish / build (push) Has been cancelled
* add file import resource * disabled health check * re-enable healthcheck * git ignore volumes * disabled importer * start_period * Skipped broken tests * Verify tests * Fixed tests * reverted volumes path * Update docker-compose.yml
20 lines
575 B
C#
20 lines
575 B
C#
using Microsoft.Extensions.Logging;
|
|
using Speckle.InterfaceGenerator;
|
|
using Speckle.Sdk.Api.Blob;
|
|
using Speckle.Sdk.Credentials;
|
|
using Speckle.Sdk.Logging;
|
|
|
|
namespace Speckle.Sdk.Api;
|
|
|
|
[GenerateAutoInterface]
|
|
public class ClientFactory(
|
|
ILoggerFactory loggerFactory,
|
|
ISdkActivityFactory activityFactory,
|
|
IGraphQLClientFactory graphQLClientFactory,
|
|
IBlobApiFactory blobApiFactory
|
|
) : IClientFactory
|
|
{
|
|
public IClient Create(Account account) =>
|
|
new Client(loggerFactory.CreateLogger<Client>(), activityFactory, graphQLClientFactory, blobApiFactory, account);
|
|
}
|