Method List
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
List(CadDocument, string)
Lists the files of support of an extension in the support folders and the folder beside the dll with its subfolders, each name once, the first that has it winning, in the order of the walk (CadSupportFolders): the user's folders in order, then the folder beside the dll, its own files by name first and then its subfolders.
public static IReadOnlyList<string> List(CadDocument document, string extension)
Parameters
documentCadDocumentThe document.
extensionstringThe extension, as .lin or .pat.
Returns
- IReadOnlyList<string>
The full paths.
Exceptions
- ArgumentNullException
Thrown when the document or the extension is null.