Yeah, but how do i tell it which LifestyleManager to use? 2011/3/29 Krzysztof Koźmic <[email protected]>
> On top of what Mauricio said, don't worry about CLA. if you want to create > a lifestyle use LifestyleAttribute as your base and it will work just as > well, you only need to pass LifestyleType.Custom to the base .ctor. > > Krzysztof > > > On 29/03/2011 10:22 PM, TigerShark wrote: > >> Hi, >> >> I would like to create a custom lifestyle attribute (using >> HttpContext.Session), but I can't create my own attribute inherit from >> CustomLifestyleAttribute as it is sealed :( >> >> Now I have to do: >> [CustomLifestyle(typeof(PerSessionLifestyleManager))] >> >> Instead of just: >> [SessionLifestyle] >> >> Am I on the wrong path or is there an explanation for this design >> decission? >> >> >> Kenneth >> >> > -- > 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. > > -- Med venlig hilsen / Kind regards Kenneth Siewers Møller -- 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.
