BoDi icon indicating copy to clipboard operation
BoDi copied to clipboard

A very small, embeddable IoC container (for SpecFlow)

Results 28 BoDi issues
Sort by recently updated
recently updated
newest added

PR 4 extracted out of #40 Focused on the CreateObject / ResolveArgument Main change: - avoid closure delegate allocation due to LINQ usage - simplify CreateObject - avoid allocation when...

PR 3 extracted out of #40 Focused on the registration.Resolve. Main change: - avoid closure delegate allocation and copy pasted code Performance measurements: From ResolveFromType | Method | Mean |...

PR 1 extracted out of #40 Focused on the RegistrationKey. 2 main changes: - Implement IEquateable to avoid boxing in equality / hashcode methods - Cache the typegroup to improve...

I've played around a bit and saw a lot of potential for improvements. The result should (😉 ) not alter public behavior but rather only improve performance / allocations: This...

Hi, I know that `IDisposable` instances registered by `RegisterInstanceAs` can be disposed by BoDI after each scenario only if `dispose` parameter is set to `true`. I want my instances to...

Hello, Correct me if I'm wrong, but I understand that keeping all code in a single file is meant to ease embedding BoDi as a source file in a consuming...

Hi @gasparnagy @SabotageAndi Was just wondering... I noticed that in latest master code (https://github.com/gasparnagy/BoDi/blob/master/BoDi/BoDi.cs), a new feature has been added to allow a choice of strategy for type and factory...

#16 by @MKMZ is breaking change. In https://github.com/gasparnagy/BoDi/commit/7c0135ca07bc2e6bb3108e016ec96972d13e0ea7 Changing `void RegisterTypeAs(..)` to `IStrategyRegistration RegisterTypeAs(..)` is breaking change https://stackoverflow.com/questions/9178533/why-adding-a-return-type-to-a-void-returning-method-causes-a-missingmethodexcept If this is expected, this should be documented and major version bumped....

Hi @gasparnagy ! I wonder if BoDi is thread-safe. From source code it seems that BoDi is not thread safe and not support multiple parallel `Resolve(..)`. But Specflow is passing...

Indexed source information could not be retrieved from 'path\BoDi.pdb'. Symbol indexes could not be retrieved. Wondering is the debugger type set to full ? DebuggerType on .net 4.5 needs to...