roryprimrose / neovolve.configuration.dependencyinjection Goto Github PK
View Code? Open in Web Editor NEWConfiguration binding dependency injection support with hot reload
License: MIT License
Configuration binding dependency injection support with hot reload
License: MIT License
For example, a config type that exposes a Type
property.
A collection property that is get; set;
causes the recursive configuration walking to try to go through its properties to bind child sections. This should be avoided where the property is IEnumerable.
If reload raw types is enabled, options should identify what to do. This could be to throw an exception, log a warning, don't register the raw type or register the type and continue.
Currently the check if a property has changed is using object.Equals
. Update this to include support for IEnumerable<T>
where T is either a value type of a string or KeyValuePair<TKey, TValue>
where the generic types are also value types or strings. The fallback will be to use object.Equals
.
In addition to detecting whether the property has changed, the logging of what has changed should include looking into IEnumerable<T>
and IEnumerable<KeyValuePair<TKey, TValue>>
to look for where:
The final part to add is log level in options to determine how property changes should be logged.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.