CmisSync.Lib.PathRepresentationConverter.LocalToRemote C# (CSharp) 메소드

LocalToRemote() 정적인 공개 메소드

static public LocalToRemote ( string localPath ) : string
localPath string
리턴 string
        static public string LocalToRemote(string localPath)
        {
            return PathConverter.LocalToRemote(localPath);
        }

Usage Example

예제 #1
0
        /// <summary></summary>
        /// <param name="remotePath"></param>
        /// <param name="repoInfo"></param>
        public RemotePathSyncItem(string remotePath, RepoInfo repoInfo)
        {
            this.localRoot  = repoInfo.TargetDirectory;
            this.remoteRoot = PathRepresentationConverter.LocalToRemote(repoInfo.RemotePath);

            this.remotePath = remotePath;
            if (remotePath.StartsWith(this.remoteRoot))
            {
                this.remotePath = remotePath.Substring(this.remoteRoot.Length).TrimStart(CmisUtils.CMIS_FILE_SEPARATOR);
            }
            this.localPath = PathRepresentationConverter.RemoteToLocal(this.remotePath);
        }
All Usage Examples Of CmisSync.Lib.PathRepresentationConverter::LocalToRemote