You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
533 B
20 lines
533 B
namespace Recyclarr.Common;
|
|
|
|
public class DefaultEnvironment : IEnvironment
|
|
{
|
|
public string GetFolderPath(Environment.SpecialFolder folder)
|
|
{
|
|
return Environment.GetFolderPath(folder);
|
|
}
|
|
|
|
public string GetFolderPath(Environment.SpecialFolder folder, Environment.SpecialFolderOption folderOption)
|
|
{
|
|
return Environment.GetFolderPath(folder, folderOption);
|
|
}
|
|
|
|
public string? GetEnvironmentVariable(string variable)
|
|
{
|
|
return Environment.GetEnvironmentVariable(variable);
|
|
}
|
|
}
|