John,
Thanks. But how is it used - if at all - when resolving a service?
If I resolve my service by type, then why does it need an Id?
Cheers
Michael

On 28 January 2010 20:26, John Simons <[email protected]> wrote:

> The key is whatever you want to call the component you are registering.
> It is just like a key in a Dictionary.
>
> Hope this helps
>
> Cheers
> John
>
> ------------------------------
> *From:* Micdev42 <[email protected]>
> *To:* Castle Project Users <[email protected]>
> *Sent:* Fri, 29 January, 2010 5:58:55 AM
> *Subject:* Newbie: AddComponent(): what should the string key param be set
> to?
>
> The examples don't really seem, to explain it...
> Sorry for the newbie question.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To post to this group, send email to [email protected]
> .
> To unsubscribe from this group, send email to castle-project-users+
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.
>
>
> ------------------------------
> Yahoo!7: Catch-up on your favourite Channel 7 TV shows easily, legally, and
> for free at PLUS7. Check it 
> out<http://au.rd.yahoo.com/tv/catchup/tagline/*http://au.tv.yahoo.com/plus7/?cmp=mailtag>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To post to this group, send email to [email protected]
> .
> To unsubscribe from this group, send email to
> [email protected]<castle-project-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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-users?hl=en.

Reply via email to