public List<string> CreateLocalPaths(IDocument remoteDocument)
{
if (!this.CanCreateLocalPath(remoteDocument)) {
throw new ArgumentOutOfRangeException(string.Format("Given remote document with Paths \"{0}\" has no path in the remote target folder \"{1}\"", remoteDocument.Paths, this.RemoteTargetRootPath));
}
List<string> localPaths = new List<string>();
foreach (string remotePath in remoteDocument.Paths)
{
try {
localPaths.Add(this.CreateLocalPath(remotePath));
} catch (ArgumentException) {
}
}
return localPaths;
}