NDepend.API Documentation
PathHelpers Class Methods


NDepend.Path Namespace : PathHelpers Class

For a list of all members of this type, see PathHelpers members.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Returns true if path and pathOther are both null, or if path.Equals(pathOther).  
Public Methodstatic (Shared in Visual Basic)Returns true if path is not null, and path.IAbsolutePath.Exists equals true.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Determine whether this string is a valid absolute directory path or not.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Determine whether this string is a valid file absolute path or not.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Determine whether this string is a valid directory path or not.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Determine whether this string is a valid directory path prefixed with an environment variable or not.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Determine whether this string is a valid file path prefixed with an environment variable or not.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Determine whether this string is a valid file path or not.  
Public Methodstatic (Shared in Visual Basic)Returns true if pathVariableName contains only upper/lower case letters, digits and underscore and has less than 1024 characters. In such case pathVariableName is a valid path variable name.  
Public Methodstatic (Shared in Visual Basic)Returns true if pathVariableValue has less than 1024 characters and has no character in ForbiddenCharInPath. In such case pathVariableValue is a valid path variable name.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Determine whether this string is a valid relative directory path or not.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Determine whether this string is a valid relative file path or not.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Determine whether this string is a valid directory path that contains variables.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Determine whether this string is a valid file that contains variables, or not.  
Public Methodstatic (Shared in Visual Basic)Returns a new IAbsoluteDirectoryPath object from this string.  
Public Methodstatic (Shared in Visual Basic)Returns a new IAbsoluteFilePath object from this string.  
Public Methodstatic (Shared in Visual Basic)Returns a new IDirectoryPath object from this string.  
Public Methodstatic (Shared in Visual Basic)Returns a new IEnvVarDirectoryPath object from this string.  
Public Methodstatic (Shared in Visual Basic)Returns a new IEnvVarFilePath object from this string.  
Public Methodstatic (Shared in Visual Basic)Returns a new IFilePath object object from this string.  
Public Methodstatic (Shared in Visual Basic)Returns a new IRelativeDirectoryPath object from this string.  
Public Methodstatic (Shared in Visual Basic)Returns a new IRelativeFilePath object from this string.  
Public Methodstatic (Shared in Visual Basic)Returns path.ToString() is path is null, else returns the empty string.  
Public Methodstatic (Shared in Visual Basic)Returns a new IVariableDirectoryPath object from this string.  
Public Methodstatic (Shared in Visual Basic)Returns a new IVariableFilePath object from this string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Try get a new IAbsoluteDirectoryPath object from this string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Try get a new IAbsoluteFilePath object from this string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Try get a new IDirectoryPath object from this string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Try get a new IEnvVarDirectoryPath object from this string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Try get a new IEnvVarFilePath object from this string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Try get a new IFilePath object object from this string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Try get a new IAbsoluteDirectoryPath object from this string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Try get a new IRelativeFilePath object from this string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Try get a new IVariableDirectoryPath object from this string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Try get a new IVariableFilePath object from this string.  
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded. Gets an enumerable object that contains first element and then elements of elements, in this order.
Public Extension MethodOverloaded. Returns true if this item equals item1 or item2.
Public Extension MethodReturns the newer version of this codeElement object. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.NewerVersion<T> must be called instead.
Public Extension MethodReturns the older version of this codeElement object. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.OlderVersion<T> must be called instead.
Public Extension MethodGets an enumerable object that contains only the single element element.
Public Extension MethodIf obj is a numeric primitive type, returns its value converted as double. else returns null.
Top
See Also

Reference

PathHelpers Class
NDepend.Path Namespace