CmisSync.Lib.RemotePathSyncItem.RemotePathSyncItem C# (CSharp) Method

RemotePathSyncItem() public method

Use only for folders, not for documents!
public RemotePathSyncItem ( string remoteFolderPath, bool isFolder, RepoInfo repoInfo, Database database ) : System
remoteFolderPath string Example: /sites/aproject/adir
isFolder bool
repoInfo RepoInfo
database Database
return System
        public RemotePathSyncItem(string remoteFolderPath, bool isFolder, RepoInfo repoInfo, Database.Database database)
        {
            this.isFolder = isFolder;
            this.database = database;
            this.localRoot = repoInfo.TargetDirectory;
            this.remoteRoot = repoInfo.RemotePath;

            this.remoteRelativePath = remoteFolderPath;
            if (remoteRelativePath.StartsWith(this.remoteRoot))
            {
                this.remoteRelativePath = remoteRelativePath.Substring(this.remoteRoot.Length).TrimStart(CmisUtils.CMIS_FILE_SEPARATOR);
            }
        }

Same methods

RemotePathSyncItem::RemotePathSyncItem ( string remoteRelativePath, string localFilename, RepoInfo repoInfo, Database database ) : System
RemotePathSyncItem::RemotePathSyncItem ( string remoteFolderPath, string remoteDocumentName, string localFilename, bool isFolder, RepoInfo repoInfo, Database database ) : System
RemotePathSyncItem