New Posts New Posts RSS Feed: Cocktail.Composition.Container missing??
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Cocktail.Composition.Container missing??

 Post Reply Post Reply
Author
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Topic: Cocktail.Composition.Container missing??
    Posted: 25-Jan-2013 at 9:22am
 IEnumerable<IModuleMenuItem> menuItems = Composition.GetInstances<IModuleMenuItem>();

Back to Top
pponzano View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Apr-2011
Location: Italy
Posts: 165
Post Options Post Options   Quote pponzano Quote  Post ReplyReply Direct Link To This Post Posted: 25-Jan-2013 at 4:26am
Hello, in my longh journey from migrating to Cocktail 2.2 I've noticed that there's no moreContainer inside the Composition...how do I get the exported values??

I was doing :

       IEnumerable<IModuleMenuItem> menuItems = Composition.Container.GetExportedValues<IModuleMenuItem>();

now what should I do?
Thanks

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down