ToString() public méthode

public ToString ( ) : string
Résultat string
 public CmisPath Combine(CmisPath other)
 {
     if (other.IsAbsolutePath())
     {
         return other.Clone();
     }
     return new CmisPath(_path + CorrectSlash + other.ToString());
 }
Exemple #2
0
 public CmisPath Combine(CmisPath other)
 {
     if (other.IsAbsolutePath())
     {
         return(other.Clone());
     }
     return(new CmisPath(_path + CorrectSlash + other.ToString()));
 }
        public ICmisObject Get(CmisPath cmisPath)
        {
            ICmisObject obj;

            if (!TryGet(cmisPath, out obj))
            {
                // DotCMIS is not very generous when it comes to generating error messages
                // so we create a better one
                var msg = String.Format("The path '{0}' doesn't identify a CMIS object.",
                                        cmisPath.ToString());
                throw new CmisObjectNotFoundException(msg);
            }
            return(obj);
        }
 public ICmisObject Get(CmisPath cmisPath)
 {
     ICmisObject obj;
     if (!TryGet(cmisPath, out obj))
     {
         // DotCMIS is not very generous when it comes to generating error messages
         // so we create a better one
         var msg = String.Format("The path '{0}' doesn't identify a CMIS object.",
                                 cmisPath.ToString());
         throw new CmisObjectNotFoundException(msg);
     }
     return obj;
 }
 protected void SetWorkingFolder(CmisPath path)
 {
     _workingFolder = path;
     SessionState.PSVariable.Set(DIRECTORY_VAR_NAME, path.ToString());
 }