<PackageReference Include="Relativity.Server.Transfer.SDK" Version="24000.0.1" />

FileShareAutoConfigService

using System; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; namespace Relativity.Transfer.FileShare { internal class FileShareAutoConfigService { private readonly IObjectCacheRepository cacheRepository; private readonly IWorkspaceService workspaceService; private readonly IFileSystemService fileSystemService; public FileShareAutoConfigService(IObjectCacheRepository cacheRepository, IWorkspaceService workspaceService, IFileSystemService fileSystemService) { if (cacheRepository == null) throw new ArgumentNullException("cacheRepository"); if (workspaceService == null) throw new ArgumentNullException("workspaceService"); if (fileSystemService == null) throw new ArgumentNullException("fileSystemService"); this.cacheRepository = cacheRepository; this.workspaceService = workspaceService; this.fileSystemService = fileSystemService; } [AsyncStateMachine(typeof(<ApplyAsync>d__4))] public Task ApplyAsync(FileShareClientConfiguration configuration, CancellationToken token) { <ApplyAsync>d__4 stateMachine = default(<ApplyAsync>d__4); stateMachine.<>t__builder = AsyncTaskMethodBuilder.Create(); stateMachine.<>4__this = this; stateMachine.configuration = configuration; stateMachine.token = token; stateMachine.<>1__state = -1; stateMachine.<>t__builder.Start(ref stateMachine); return stateMachine.<>t__builder.Task; } } }