Class LunyPath
Represents a path that can be converted between engine-native and engine-agnostic (Luny) formats.
public class LunyPath : ILunyPath
- Inheritance
-
objectLunyPath
- Implements
- Derived
Constructors
LunyPath(string, bool)
protected LunyPath(string path, bool isNative)
Parameters
pathstringisNativebool
Properties
AgnosticPath
public string AgnosticPath { get; }
Property Value
- string
Converter
The active path converter. Must be set by the engine adapter.
public static ILunyPathConverter Converter { get; set; }
Property Value
NativePath
public string NativePath { get; }
Property Value
- string
PathType
protected virtual LunyPathType PathType { get; }
Property Value
Methods
FromAgnostic(string)
public static LunyPath FromAgnostic(string agnosticPath)
Parameters
agnosticPathstring
Returns
FromNative(string)
public static LunyPath FromNative(string nativePath)
Parameters
nativePathstring
Returns
ToString()
public override string ToString()
Returns
- string
Operators
implicit operator string(LunyPath)
public static implicit operator string(LunyPath lunyPath)
Parameters
lunyPathLunyPath
Returns
- string