Finite Reality
032aba9129
Update commands with C#7 features ( #689 )
* C#7 features in commands, CommandInfo in ModuleBase
* Update TypeReaders with C#7 features and IServiceProvider
* Add best-choice command selection to CommandService
* Normalize type reader scores correctly
* Fix logic error and rebase onto dev
* Change GetMethod for SetMethod in ReflectionUtils
Should be checking against setters, not getters
* Ensure args/params scores do not overwhelm Priority
* Remove possibility of NaNs
8 years ago
Joe4evr
cc390f03de
Fix the off-chance that someone has a property without a getter
8 years ago
Joe4evr
34917a35de
In my defense, it was 2:40 AM
8 years ago
Joe4evr
444868b22d
Fix attempting to inject into static properties
8 years ago
RogueException
ba1982a3f9
Replaced DependencyMap with ServiceCollection and IServiceProvider ( #625 )
8 years ago
RogueException
33cd1a6c9f
Scan base types during DI injection
9 years ago
Khionu Sybiern
4274900d43
Implimented discussed changes
9 years ago
Khionu Sybiern
c350debdba
Better implimentation of detection
9 years ago
Khionu Sybiern
df6579260e
Fix detection of IDependencyMap impl
Not pretty, but it works.
9 years ago
Christopher F
7476c4ca38
Cleanup property injection
9 years ago
james7132
73f00eb0d7
Ensure injected properties have public setters
9 years ago
james7132
145ae1518b
Fix properties not being set properly on injection
9 years ago
james7132
f1df412341
Change whitelist injection into blacklist injection
9 years ago
james7132
f0b4c24e82
Add InjectAttribute for annotating injectable properties
9 years ago
james7132
a551064eaf
Add IDependencyMap injection for public properties
9 years ago
FiniteReality
6d46347ebc
Finish implementation of command builders
9 years ago