A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Extensions.IOHelperExtensions.html below:

View Source Class IOHelperExtensions Inheritance

System.Object

Namespace: Umbraco.Extensions Assembly: Umbraco.Core.dll Syntax
public 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).

Declaration
public 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.

Declaration
public static bool TryCreateDirectory(this IIOHelper ioHelper, string dir)
Parameters Type Name Description IIOHelper ioHelper

The IOHelper.

System.String dir

the directory path.

Returns Type Description System.Boolean

true 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