System.Object
Namespace: Umbraco.Extensions Assembly: Umbraco.Core.dll Syntaxpublic static class IOHelperExtensions
Methods View Source CreateRandomFileName(IIOHelper) Declaration
public static string CreateRandomFileName(this IIOHelper ioHelper)
Parameters Returns Type Description System.String View Source ResolveRelativeOrVirtualUrl(IIOHelper, String)
Will resolve a virtual path URL to an absolute path, else if it is not a virtual path (i.e. starts with ~/) then it will just return the path as-is (relative).
Declarationpublic static string ResolveRelativeOrVirtualUrl(this IIOHelper ioHelper, string path)
Parameters Type Name Description IIOHelper ioHelper System.String path Returns Type Description System.String View Source TryCreateDirectory(IIOHelper, String)
Tries to create a directory.
Declarationpublic static bool TryCreateDirectory(this IIOHelper ioHelper, string dir)
Parameters Type Name Description IIOHelper ioHelper
The IOHelper.
System.String dirthe directory path.
Returns Type Description System.Booleantrue if the directory was created, false otherwise.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4