A extremely fast ioc container for high performance applications
Moved build to azure devops and using NUKE now instead of powershell scripts to run the build. There was some time left for other improvements though:
Features:
Improvements
Features:
Expression<Func<T>>
. This will give you the expression that is used to create the factory.Func<T>
. This will give you the factory to create the instance.Lazy<T>
.IReadOnlyList<T>
. Same as requesting IEnumerable but gives you more info about count and allows you to index.Improvements
Features:
config.Register(typeof(IOpenGeneric<>), typeof(OpenGeneric<>))
and Singularity will try map the generic parameters when requesting a instance.IEnumerable<T>
and you will get all the registered instances for T
. This is lazy so these instances are not created until you start enumerating the enumerable.Improvements