AliasPathResolver class

Maps aliasXXX -> path.xxx ($foo => dialog.foo).

Constructors

AliasPathResolver(string, string, string)

Initializes a new instance of the AliasPathResolver class.

Methods

transformPath(string)

Transforms the path.

Constructor Details

AliasPathResolver(string, string, string)

Initializes a new instance of the AliasPathResolver class.

new AliasPathResolver(alias: string, prefix: string, postfix?: string)

Parameters

alias

string

Alias name.

prefix

string

Prefix name.

postfix

string

Postfix name.

Method Details

transformPath(string)

Transforms the path.

function transformPath(path: string): string

Parameters

path

string

Path to inspect.

Returns

string

The transformed path.