Ah, sorry, it's just me speaking strangely. I mean that I could add
something like the visitor pattern (inspectors) where the inspectors can be
allowed to have their say about the type of transaction to create, from the
CreateTransaction method:
https://github.com/haf/Castle.Transactions/blob/master/src/Castle.Services.T
ransaction/TransactionManager.cs

Regards,
Henrik

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jordan
Sent: den 10 augusti 2011 12:51
To: Castle Project Development List
Subject: Re: TransactionAttribute.CustomContext

Hi Henrik,

Sorry I've got no idea what a 'custom inspector' is, and a quick google
hasn't helped. Can you point me in the right direction?

regards,
Jordan.


On Aug 4, 11:39 pm, "Henrik Feldt" <[email protected]> wrote:
> How would you like to solve the problem if you get to choose?
>
> A ';'-separated string, for example? Or would you add some 'custom 
> inspector' to a pipeline when checking whether a method should be wrapped?
>
> Regards,
> Henrik
>
>
>
>
>
>
>
> -----Original Message-----
> From: [email protected]
>
> [mailto:[email protected]] On Behalf Of Jordan
> Sent: den 1 augusti 2011 13:30
> To: Castle Project Development List
> Subject: TransactionAttribute.CustomContext
>
> Hello all,
>
> I've just had my first look at the new Castle.Transactions code. In 
> the discussion about read only transactions it was suggested that we 
> could use the "CustomContext" property to pass in the read only flag.
> However, as far as I understand it IEnumerable<KeyValuePair<string,
> object>> is not a valid attribute parameter type.
>
> Or is there some new funky syntax that I'm not aware of?
>
> cheers,
> Jordan.
>
> --
> 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.

-- 
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