Skip to content

Is it possible to inject from the interface of Composition itself? #33

Discussion options

You must be logged in to vote

Sorry for delay, I'm away from my computer right now. Try adding a binding:

Bind<IComposition>().To(ctx =>
{
  ctx.Inject<Composition>(out var comosition);
  return composition;
} 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YoshihiroIto
Comment options

Answer selected by NikolayPianikov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants