Package contains: Framework for managing environmental variables, including EnvironmentalFactory for centralized control, EnvironmentalProxy for module-specific access, and VolatileEnvironmentalManager for in-memory storage. Supports extensibility through interfaces and base classes.
$ dotnet add package Oakrey.EnvironmentalVariablesThe "EnvironmentalVariables" project provides a framework for managing environmental variables in a modular and extensible way. It allows for centralized control over environmental variables, supporting both volatile and persistent storage mechanisms.
EnvironmentalFactory acts as the central hub for managing environmental variables, allowing modules to interact with a shared environmental engine.
EnvironmentalProxy provides a module-specific interface for accessing and modifying environmental variables.
IEnvironmental and IEnvironmentalEngine define the contract for interacting with environmental variables, enabling custom implementations.
EnvironmentalBase provides a foundation for implementing custom environmental engines, handling cleanup and factory integration.
VolatileEnvironmentalManager is an in-memory implementation of EnvironmentalBase, suitable for temporary storage of environmental variables.
Debug messages are logged when variables are added, updated, or accessed, providing visibility into environmental variable operations.
You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.
Oakrey.EnvironmentalVariables and click Install.Run the following command in your terminal:
dotnet add package Oakrey.EnvironmentalVariables
Run the following command in your Package Manager Console:
Install-Package Oakrey.EnvironmentalVariables
Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.
This project is licensed under the MIT License. See the LICENSE file for details.