API reference
Class AssetPath
Namespace: MicroEngine.Content
Assembly: MicroEngine.Content.dll
Guide: Assets
Content paths: relative to the source, ‘/’-separated.
public static class AssetPathInheritance
Methods
Normalize(string)
‘/’ separators, no leading ‘/’ or “./”, “a/../b” as “b”; the same string when nothing changes, so lookups allocate nothing. A “..” that leaves the source stays, so the source refuses it.
public static string Normalize(string path)Parameters
path string
Returns
Exceptions
path is null, empty or white space.