Class LunyPath
Represents a path that can be converted between engine-native and engine-agnostic (Luny) formats.
public class LunyPath : ILunyPath
Expand Details ...
- Inheritance
-
ObjectLunyPath
- Implements
- Derived
Constructors
LunyPath(String, Boolean)
protected LunyPath(String path, Boolean isNative)
Parameters
| Type | Name | Description |
|---|---|---|
path |
||
isNative |
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
| Type | Name | Description |
|---|---|---|
agnosticPath |
Returns
FromNative(String)
public static LunyPath FromNative(String nativePath)
Parameters
| Type | Name | Description |
|---|---|---|
nativePath |
Returns
ToString()
public override String ToString()
Returns
- String
Operators
implicit operator String(LunyPath)
public static implicit operator String(LunyPath lunyPath)
Parameters
| Type | Name | Description |
|---|---|---|
lunyPath |
Returns
- String