Базовая работа на Linux
This commit is contained in:
20
src/Sms.Environment/IEnvironmentVariableStore.cs
Normal file
20
src/Sms.Environment/IEnvironmentVariableStore.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace Sms.Environment;
|
||||
|
||||
public interface IEnvironmentVariableStore
|
||||
{
|
||||
string? Get(string name);
|
||||
|
||||
void Set(string name, string value);
|
||||
|
||||
bool Exists(string name);
|
||||
|
||||
IReadOnlyDictionary<string, string> GetAll(IEnumerable<string> names);
|
||||
|
||||
IReadOnlyDictionary<string, string> GetProcessEnvironment();
|
||||
|
||||
IReadOnlyDictionary<string, string> GetUserPersistedEnvironment();
|
||||
|
||||
bool IsPersistedInUserStore(string name);
|
||||
|
||||
void RemoveFromUserStore(string name);
|
||||
}
|
||||
Reference in New Issue
Block a user