FileNameResolver Class

Extend this class to provide custom file name resolution behavior.

note Only tryResolveKey and/or tryResolveFileName need to be overridden as the implementations of resolveKey and resolveFileName work for most purposes.

see IModelHost.snapshotFileNameResolver

Methods

Name Description
constructor(): FileNameResolver    
resolveFileName(inFileName: string): string Resolve the input file name, which may be a partial name, into a full path file name.  
resolveKey(fileKey: string): string Resolve a file name from the specified key.  
tryResolveFileName(inFileName: string): undefined | string Resolve the input file name, which may be a partial name, into a full path file name.  
tryResolveKey(_fileKey: string): undefined | string Resolve a file name from the specified key.  

Defined in

Last Updated: 20 June, 2023