RemotePathResolverBase
using System;
namespace Relativity.Transfer
{
public abstract class RemotePathResolverBase : IRemotePathResolver
{
protected ITransferLog transferLog;
protected static IFileSystemService FileSystemService { get; } = ServiceObjectLocator.GetService<IFileSystemService>();
protected RemotePathResolverBase(ITransferLog transferLog)
{
if (transferLog == null)
throw new ArgumentNullException("transferLog");
this.transferLog = transferLog;
}
public virtual string ResolvePath(string path)
{
if (string.IsNullOrEmpty(path))
throw new ArgumentNullException("path");
return OnResolvePath(path);
}
protected abstract string OnResolvePath(string path);
}
}