Click or drag to resize

cPathUtility Class

Utility class for translating a path mask into a full path. The mask can be composed of valid path characters and place holders.

Place holder texts are expected to be wrapped in curly brackets, { }, and are not case-sensitive.

Inheritance Hierarchy
SystemObject
  EwECorecPathUtility

Namespace:  EwECore
Assembly:  EwECore (in EwECore.dll) Version: 6.6.15981.0 (6.6.15981.0)
Syntax
public class cPathUtility

The cPathUtility type exposes the following members.

Constructors
  NameDescription
Public methodcPathUtility
Initializes a new instance of the cPathUtility class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberResolvePath(String, cCore, String)
Resolve a path mask to a true file path.
Public methodStatic memberResolvePath(String, String, String, String)
Resolve a path mask to a true file path.
Public methodStatic memberResolvePath(String, String, String, String, String, String)
Resolve a path mask to a true file path.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodValue
Extension method; extract a value from an object by property name.
(Defined by Extensions.)
Top
Remarks
Examples

A few path examples are:

  • {ModelPath}\backup\{ModelFile}_{ModelVersion}.{ModelExt}
  • {MyDocuments}\EwEModels\backup\{modelfile}_{date}_{time}.{modelext}
See Also