Class ResolvePath
Resolve a RepRapFirmware-style path to an actual file path
[RequiredPermissions(SbcPermissions.CommandExecution|SbcPermissions.FileSystemAccess)]
public class ResolvePath : Command<string>
- Inheritance
-
ResolvePath
- Derived
- Inherited Members
Constructors
ResolvePath()
public ResolvePath()
Properties
BaseDirectory
Optional base directory to resolve the path relative to
public FileDirectory? BaseDirectory { get; set; }
Property Value
Path
Path that is RepRapFirmware-compatible
public string Path { get; set; }
Property Value
Methods
UpdateFromJson(JsonElement)
Update this instance from a given JSON element
public override void UpdateFromJson(JsonElement jsonElement)
Parameters
jsonElementJsonElementElement to update this intance from
Remarks
This method is auto-generated
Exceptions
- JsonException
Failed to deserialize data
UpdateFromJsonReader(ref Utf8JsonReader)
Update this instance from a given JSON element
public override void UpdateFromJsonReader(ref Utf8JsonReader reader)
Parameters
readerUtf8JsonReaderReader to update this intance from
Remarks
This method is auto-generated
Exceptions
- JsonException
Failed to deserialize data