cs-util-com / cscore

cscore is a minimal-footprint library providing commonly used helpers & patterns for your C# projects. It can be used in both pure C# and Unity projects.
https://cs-util-com.github.io/cscore/
Apache License 2.0
183 stars 31 forks source link

Interfacing with environment variables #104

Open cs-util opened 11 months ago

cs-util commented 11 months ago

Provide a simple interface that interacts with environment variables of the system (via EnvironmentV2 so that it can also be overridden for systems/operating systems that do not support the default implementation. Using these new methods create an IKeyValueStore so that a developer has this as a new option when choosing an IKeyValueStore implementation. Create a unit test that tests that the new IKeyValueStore is thread safe (might be possible to reuse one of the existing IKeyValueStore tests for this).

I will prepare a draft for this on a new branch that can be continued/completed.