Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
PathService.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.IO
;
3
4
namespace
ReLogic.OS.Base
;
5
6
internal
abstract
class
PathService
:
IPathService
7
{
8
public
string
ExpandPathVariables
(
string
path)
9
{
10
return
Environment
.
ExpandEnvironmentVariables
(path);
11
}
12
13
public
abstract
string
GetStoragePath
();
14
15
public
string
GetStoragePath
(
string
subfolder)
16
{
17
return
Path
.
Combine
(
GetStoragePath
(), subfolder);
18
}
19
20
public
abstract
void
OpenURL
(
string
url);
21
22
public
abstract
bool
MoveToRecycleBin
(
string
path);
23
}
ReLogic.OS.Base.PathService.ExpandPathVariables
string ExpandPathVariables(string path)
Definition
PathService.cs:8
ReLogic.OS.Base.PathService.OpenURL
void OpenURL(string url)
ReLogic.OS.Base.PathService.GetStoragePath
string GetStoragePath()
ReLogic.OS.Base.PathService.GetStoragePath
string GetStoragePath(string subfolder)
Definition
PathService.cs:15
ReLogic.OS.Base.PathService.MoveToRecycleBin
bool MoveToRecycleBin(string path)
ReLogic.OS.Base.PathService
Definition
PathService.cs:7
System.Environment.ExpandEnvironmentVariables
static string ExpandEnvironmentVariables(string name)
Definition
Environment.cs:492
System.Environment
Definition
Environment.cs:15
System.IO.Path.Combine
static string Combine(string path1, string path2)
Definition
Path.cs:304
System.IO.Path
Definition
Path.cs:8
ReLogic.OS.IPathService
Definition
IPathService.cs:4
ReLogic.OS.Base
Definition
Clipboard.cs:3
System.IO
Definition
ConsoleStream.cs:3
System
Definition
BlockingCollection.cs:8
source
ReLogic
ReLogic.OS.Base
PathService.cs
Generated by
1.10.0