[Diese Dokumentation ist noch nicht fertig und kann sich bis zur entgültigen Version noch ändern.]
Assembly: DNCore (in DNCore.dll) Version: 1.4.4679.19807 (1.4.0.0)
Macht den übergebenen Modulpfad absolut.
Namespace: DynamicNode.Core.NodesAssembly: DNCore (in DNCore.dll) Version: 1.4.4679.19807 (1.4.0.0)
Syntax
C# |
---|
public string MakePathAbsolute( string modulePath, IConfiguration config ) |
Visual Basic |
---|
Public Function MakePathAbsolute ( _ modulePath As String, _ config As IConfiguration _ ) As String |
F# |
---|
member MakePathAbsolute : modulePath:string * config:IConfiguration -> string |
Parameters
- modulePath
- Type: System..::..String
Der potentiell relative Modulpfad.
- config
- Type: DynamicNode.Core..::..IConfiguration
Die Laufzeitumgebungskonfiguration.
Return Value
Einen absoluten Dateipfad für das Modul.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Wird geworfen, wenn für confignull übergeben wird. |
System..::..NotSupportedException | Wird geworfen, wenn sich der relative Pfad auf die Benutzermodulbibliothek bezieht, die Laufzeitumgebung aber ohne Arbeitsbereich gestartet wurde. |