Interface IPathService
Service interface for managing file system paths.
Provides methods to retrieve standard directories and combine path segments.
Inherited Members
Namespace: Serenity.FilePersistence.Application.Interfaces
Assembly: Serenity.Global.Application.dll
Syntax
public interface IPathService : IService, IFoundationSettings
Methods
Combine(params string[])
Combines multiple path segments into a single path.
Declaration
string Combine(params string[] parts)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | parts | The path segments to combine. |
Returns
| Type | Description |
|---|---|
| string | The combined path. |
GetCacheDir()
Declaration
string GetCacheDir()
Returns
| Type | Description |
|---|---|
| string | Gets the cache directory path. |
GetConfigDir()
Declaration
string GetConfigDir()
Returns
| Type | Description |
|---|---|
| string | Gets the configuration directory path. |
GetTempDir()
Declaration
string GetTempDir()
Returns
| Type | Description |
|---|---|
| string | Gets the temporary directory path. |
GetUserDataDir()
Declaration
string GetUserDataDir()
Returns
| Type | Description |
|---|---|
| string | Gets the user data directory path. |