Skip to content

Parameters on Resolve? #5

Open
Open

Description

@jeusdi

On my code, I set parameters on my Get requests:

kernel.Get<Core.Backend.IBackend>(
        new Ninject.Parameters.Parameter("identity", lestIdentity, true)
);

I don't see how to set those parameters on Resolve method.

Activity

  1. kevinkuszyk commented on Sep 30, 2015

    @kevinkuszyk
    Member

    Hi @jeusdi,

    We don't have an overload for that at the moment. Is it something you could add and send a pull request?

  2. kevinkuszyk commented on Oct 19, 2015

    @kevinkuszyk
    Member

    I had some time to look at this today, but I either got my binding config or my usage wrong as my tests are giving false positives.

    Can you post an example of your binding config, how you are resolving dependencies in your production code, and what you think the test API should look like to verify your kernel is setup correctly?

    Thanks!

  3. added this to the v1.5.0 milestone on Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions