Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Add GetFolderPath proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Nov 29, 2021
1 parent 1153634 commit e594b15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.3.2</Version>
<Version>2.4.0</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
3 changes: 3 additions & 0 deletions JustArchiNET.Madness/EnvironmentMadness/Environment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ public static string? ProcessPath {

[MadnessType(EMadnessType.Proxy)]
public static string? GetEnvironmentVariable(string variable) => System.Environment.GetEnvironmentVariable(variable);

[MadnessType(EMadnessType.Proxy)]
public static string GetFolderPath(System.Environment.SpecialFolder folder, System.Environment.SpecialFolderOption option) => System.Environment.GetFolderPath(folder, option);
}

0 comments on commit e594b15

Please sign in to comment.