public override object GetTransferObject(DirNode dirNode) { if (this.useStream) { throw new InvalidOperationException("Can't get directory transfer object in stream data adaptor."); } return(Path.Combine(this.BasePath, dirNode.GetLocalRelativePath())); }
public override object GetTransferObject(string rootPath, DirNode dirNode, StorageCredentials credentials = null) { if (this.useStream) { throw new InvalidOperationException("Can't get directory transfer object in stream data adaptor."); } if (credentials != null) { throw new NotSupportedException("Credentials is not supported in LocalDataAdaptor."); } return(Path.Combine(this.BasePath, rootPath, dirNode.GetLocalRelativePath())); }