Thanks Per for pointing this out :)
It must be a glitch in The Matrix.
I'll sort it out for v3.0.1.
Can you please add it to the issue tracker so that I don't forget :-)
cheers,
@K
On 15/02/2012 10:13 PM, Lundberg, Per wrote:
Hi!
In the ComponentRegistration class, there is a method overload for the
Properties() method with a description for the “filter” parameter
which is very hard to understand… :-) This is with Castle 3.0.0.4001
(using the NuGet package).
//
// Summary:
// Filters properties on the implementation that will be
considered 'settable'
// by the container.
//
// Parameters:
// filter:
// Predicate deciding whether a property is settable or not. If
returns false
// container will ignore the property, otherwise property
will be ignored.
//
// Remarks:
// Matched properties will be considered optional, that is
component will resolve
// successfully if they can not be satisfied.
public ComponentRegistration<TService>
Properties(Predicate<PropertyInfo> filter);
Best regards,
-- -- -- -- -- -- -- --**
*PER LUNDBERG*/Software Engineer
/[email protected] <mailto:[email protected]>
www.ecraft.com <http://www.ecraft.com/>
tel. +358 (0) 20 759 8687
eCraft Oy Ab, Wolffskavägen 36, FI-65200 Vasa
--
You received this message because you are subscribed to the Google
Groups "Castle Project Users" 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-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Castle
Project Users" 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-users?hl=en.