Probably
On Fri, Feb 26, 2010 at 7:48 PM, Vadim Kantorov <[email protected]>wrote:
> Do you think something like this would work?
>
> static class UserExtensions : IUser
> {
> class RhinoUserAdapter : IUser
> {
> //...
> }
> public static IUser Rhino(this User myUser)
> {
> return new RhinoUserAdapter(myUser);
> }
> }
>
> On 23 фев, 01:43, Ayende Rahien <[email protected]> wrote:
> > RS needs this information for several reasons:
> > a) To get a GUID for the user.
> > b) To be able to get user readable string for the user.
> >
> > It would be pretty easy to create an adapter for that, though. The
> > requirement to be able to do so, however, cannot be easily waved.
> >
> > On Mon, Feb 22, 2010 at 11:21 AM, Vadim Kantorov <
> [email protected]>wrote:
> >
> >
> >
> > > It seems a bit useless for me to implement SecurityInfo property. Is
> > > there any scenario you would need it in your domain logic? Right now
> > > it just means I need to reference RS from my domain assembly (though I
> > > use security in the application layer only).
> >
> > > Can one use RS without implementing this interface?
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Rhino Tools Dev" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<rhino-tools-dev%[email protected]>
> <rhino-tools-dev%2bunsubscr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/rhino-tools-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rhino-tools-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Rhino Tools Dev" 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/rhino-tools-dev?hl=en.