Click or drag to resize
Ab4d.SharpEngine logo

FileUtilsCommonFileNotFoundResolver Method

CommonFileNotFoundResolver tries to resolve the filePath by first trying to fix directory separator and then when the filePath is not rooted, combining the filePath with the base application's path. The method also checks if the file exist in any of the GlobalFileSearchPaths. When the resolve succeeds (the file is found) then the value of filePath is updated and true is returned. When the method cannot help find the file, false is returned.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public static bool CommonFileNotFoundResolver(
	ref string filePath
)

Parameters

filePath  String
path and name to the file that does not exist (the filePath is updated when file is resolved)

Return Value

Boolean
true when filePath was resoled (filePath is set to the file that exists); false when file is not found
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.FileUtils.CommonFileNotFoundResolver(System.String@)"]

See Also