Well... do it exactly as listeners is not the scope but.... you can add listeners at session-open and remove listeners at session close ;) btw, as the usage of listeners, even in this case the limitation is the imagination of the user.
On Mon, Oct 11, 2010 at 1:52 PM, Ayende Rahien <[email protected]> wrote: > The idea is that we would allow users to extend the session, within the > scope of the session. > > Think about it like listeners, but for a single session. Important, this > also let me know when the session is disposed. > That means that I can do cleanups. > > Example: > > <version type="session-managed"/> > > So we don't have a Version property, and the value is stored inside the > context of the session. > > Example: > > Cleanup INotifyPropertyChanged references on session disposable. > > On Mon, Oct 11, 2010 at 6:37 PM, Tuna Toksoz <[email protected]> wrote: > >> should i assume you meant extension methods? >> >> What sorts of things do you have? >> >> >> Tuna Toksöz >> Eternal sunshine of the open source mind. >> >> http://devlicio.us/blogs/tuna_toksoz >> http://tunatoksoz.com >> http://twitter.com/tehlike >> >> >> >> >> >> On Mon, Oct 11, 2010 at 12:33 PM, Fabio Maulo <[email protected]>wrote: >> >>> Hi all. >>> I would implements extension-objects for the session. >>> >>> Thoughts ? >>> >>> -- >>> Fabio Maulo >>> >>> >> > -- Fabio Maulo
