Hi there, 
        
The issue FACILITIES-ISSUE-115 was just created by Fabio Maulo (fabiomaulo).
        
        Key: FACILITIES-ISSUE-115
        Summary: Factory methods with Fluent configuration
        Type: New Feature
        Importance: Medium
        
        Description:
        Giving a xml configuration like
<component id="sessionFactoryProvider"
  service='uNhAddIns.IMyFactory, uNhAddIns'
  type='MyFactory, uNhAddIns'/>
<component id="uNhAddIns.sessionFactory" type="NHibernate.ISessionFactory, 
NHibernate" factoryId="sessionFactoryProvider" factoryCreate="GetFactory">
        <parameters>
        <factoryId>uNhAddIns</factoryId>
        </parameters>
</component>
Allow a fluent configuration like
container
.Register(Component
  .For<ISessionFactory>()
  .UsingFactory<ISessionFactoryProvider>(service => 
service.GetFactory("uNhAddIns")));
        
For more, see 
http://support.castleproject.org/projects/FACILITIES/issues/view/FACILITIES-ISSUE-115
 
        
--
donjon
by Castle Stronghold
http://www.castle-donjon.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" 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-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to