> -----Original Message-----
> From: Geer, Christopher S [mailto:[EMAIL PROTECTED] 
> Sent: den 29 juli 2003 18:14
> To: [EMAIL PROTECTED]
> Subject: ROLE & Lifecycles in C#
> 
> 
> I've been working with Yauheny on the Framework/Fortress port 
> to C# and had a couple of questions that I was hoping to 
> Avalon community could help answer.
> 
> 1) In light of the recent discussion and clarification of the 
> ROLE field

One solution is to simply skip it. In Phoenix, for example,
when you want a MyComponent, you have to:

 a) declare a dependency on MyComponent.

 b) declare under what name you will look it up.

For example:

  Depends on: MyComponent
        Name: my-component

Then:

    MyComponent comp = (MyComponent) manager.lookup ("my-component");

Can't help you with number 2 though.

/LS


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to