Click or drag to resize

Extension Class

Extension class provides miscellaneous methods.
Inheritance Hierarchy
SystemObject
  CADSharpTools.CoreExtension

Namespace:  CADSharpTools.Core
Assembly:  CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntax
public static class Extension

The Extension type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBrowseToFile
Opens the CommonOpenFileDialog window to browse to a file.
Public methodStatic memberBrowseToFolder
Opens the CommonOpenFileDialog window to browse to a folder.
Public methodStatic memberEvaluateDirectory
Returns the evaluated directory from a directory that contains the specified folder alias.
Public methodStatic memberFormatTimeFromMinutes
Formats fractional minutes in the hh:mm:ss format.
Public methodStatic memberGetAssemblyLocation
Returns the location of the specified assembly.
Public methodStatic memberGetAssemblyNameAndVersion
Returns the product name and the file version of the specified assembly in the following fashion: Name MAJOR.MINOR.PATCH.REVISION. REVISION is omitted if not specified.
Public methodStatic memberGetFilesFromDirectory
Returns an array of pathnames of all files with matching extension. Hidden files and filenames that start with a tilde are ignored.
Public methodStatic memberGetFilesFromDirectoryAsync
Returns a Task of an array of pathnames of all files with matching extension. Hidden files and filenames that start with a tilde are ignored.
Top
See Also