Branch: refs/heads/master
Home: https://github.com/castleproject/Castle.Windsor
Commit: 34b7bb1e89c0c25d73c6742a9006265eeb742bfc
https://github.com/castleproject/Castle.Windsor/commit/34b7bb1e89c0c25d73c6742a9006265eeb742bfc
Author: Krzysztof Kozmic <[email protected]>
Date: 2011-03-19 (Sat, 19 Mar 2011)
Changed paths:
M Changes.txt
M src/Castle.Windsor.Tests/Castle.Windsor.Tests.csproj
M src/Castle.Windsor.Tests/ClassComponents/B.cs
R src/Castle.Windsor.Tests/ClassComponents/DisposableFoo.cs
M src/Castle.Windsor.Tests/ClassComponents/UsesDisposableFoo.cs
A src/Castle.Windsor.Tests/Components/DisposableFoo.cs
A src/Castle.Windsor.Tests/Components/HasInstanceCount.cs
A src/Castle.Windsor.Tests/Components/UsesLazy.cs
M src/Castle.Windsor.Tests/Experimental/ReleasePolicyTrackedObjectsTestCase.cs
M
src/Castle.Windsor.Tests/Facilities/TypedFactory/Delegates/UsesDisposableFooDelegate.cs
M
src/Castle.Windsor.Tests/Facilities/TypedFactory/TypedFactoryDelegatesTestCase.cs
M src/Castle.Windsor.Tests/FailureCleanUpTestCase.cs
M src/Castle.Windsor.Tests/HandlerExtensionsTestCase.cs
A src/Castle.Windsor.Tests/LazyComponentsTestCase.cs
M src/Castle.Windsor.Tests/Lifecycle/DisposeTestCase.cs
M src/Castle.Windsor.Tests/LifecycledComponentsReleasePolicyTestCase.cs
M src/Castle.Windsor.Tests/Lifestyle/ScopedLifestyleTestCase.cs
M src/Castle.Windsor/Castle.Windsor.csproj
A src/Castle.Windsor/MicroKernel/Resolvers/LazyOfTComponentLoader.cs
Log Message:
-----------
- implemented IOC-281 - Provide out of the box support for Lazy<T>
Right now the implementation is quite basic and there are a few things that are
missing:
- support for service overrides - right now there's no way to specify
that Lazy<Foo> should provide something else than default component for Foo.
- as a result of that also we can't do stuff like
container.ResolveAll<Lazy<Foo>>(). Depending on whether or not Lazy<Foo> was
previously resolved we'll get either empty result, or single value for default
component.
- no way to register them explicitly.
--
You received this message because you are subscribed to the Google Groups
"Castle Project Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-commits?hl=en.