ToString() public method

public ToString ( ) : string
return string
示例#1
0
 public CmisPath Combine(CmisPath other)
 {
     if (other.IsAbsolutePath())
     {
         return other.Clone();
     }
     return new CmisPath(_path + CorrectSlash + other.ToString());
 }
示例#2
0
 public CmisPath Combine(CmisPath other)
 {
     if (other.IsAbsolutePath())
     {
         return(other.Clone());
     }
     return(new CmisPath(_path + CorrectSlash + other.ToString()));
 }
示例#3
0
        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());
 }