The reason is a no-op method is because this method is called by the
kernel when an external request to release the component is made
therefore it must do nothing to ensure the component is available for
the duration of the thread.

On Dec 18, 9:34 pm, Simon Cropp <[email protected]> wrote:
> no idea. thats just what was there before.
>
> 2009/12/18 Krzysztof Koźmic (2) <[email protected]>:
>
> > Yeah, I think so.
>
> > I'm not a lifestyle expert, but why the Release is a no-op?
>
> > On 18 Gru, 11:23, Simon Cropp <[email protected]> wrote:
> >> so somthing like this? see attached
>
> >> 2009/12/18 Krzysztof Koźmic (2) <[email protected]>:
>
> >> > I would rather suggest using ThreadStaticAttribute for that...
>
> >> > On 18 Gru, 11:02, Simon Cropp <[email protected]> wrote:
> >> >> PerThreadLifestyleManager makes heavy use of NamedDataSlots.
> >> >> There is no such API in Silverlight. Specifically there is no
> >> >> -Thread.AllocateNamedDataSlot
> >> >> -Thread.GetData
> >> >> -Thread.FreeNamedDataSlot
> >> >> -LocalDataStoreSlot
>
> >> >> If i understand this class it could be re-written using a static
> >> >> dictionary that is indexed via thread Id.
>
> >> >> Is this correct?
>
> >> > --
>
> >> > 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 
> >> > athttp://groups.google.com/group/castle-project-devel?hl=en.
>
> >>  PerThreadLifestyleManager.cs
> >> 2KZobaczPobierz
>
> > --
>
> > 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 
> > athttp://groups.google.com/group/castle-project-devel?hl=en.

--

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