Class IOHelperOSX
Provides IO helper implementations for macOS (OSX) operating systems.
Namespace: Umbraco.Cms.Core.IO
Assembly: Umbraco.Core.dll
Syntax
public class IOHelperOSX : IOHelper, IIOHelper
Constructors
View SourceIOHelperOSX(IHostingEnvironment)
Initializes a new instance of the IOHelperOSX class.
Declaration
public IOHelperOSX(IHostingEnvironment hostingEnvironment)
Parameters
| Type | Name | Description |
|---|---|---|
| IHostingEnvironment | hostingEnvironment | The hosting environment. |
Methods
View SourcePathStartsWith(string, string, params char[])
Determines whether a path starts with the specified root path.
Declaration
public override bool PathStartsWith(string path, string root, params char[] separators)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | The path to check. |
| string | root | The root path to compare against. |
| char[] | separators | The directory separator characters to use. |
Returns
| Type | Description |
|---|---|
| bool |
|