Skip to content

Ninject Factory functionality #115

Closed

Description

@sonofaforester

Do you support functionality similar to the Ninject Factory extension?

https://github.com/ninject/Ninject.Extensions.Factory/wiki

Activity

  1. ipjohnson commented on Aug 31, 2017

    @ipjohnson
    Owner

    @sonofaforester some of the functionality is currently supported in the base package Func<...>, Lazy<T>, and custom delegates.

    What's not supported at this time is the interface generation. That said I don't believe it would be too hard to implement. I'll look at putting together a Grace.Factory package that would target .netstandard 1.1.

  2. added this to the 6.3.0 milestone on Sep 1, 2017
  3. logichaos commented on Sep 1, 2017

    @logichaos

    is there a place to see the eta of the various milestones?

  4. ipjohnson commented on Sep 1, 2017

    @ipjohnson
    Owner

    @ElMaxxi I'm not sure what the ETA will be for 6.3.0. Hopefully I'll get some time this weekend but I can't make any promises as I have a 2 month old at home and she rules the roost ...

  5. ipjohnson commented on Sep 2, 2017

    @ipjohnson
    Owner

    I've added two methods for doing factory generation on the fly ExportFactory<T>() and ExportInterfaceFactories().

    I've put in a couple tests that can be found here. Let me know what you think.

  6. ipjohnson commented on Sep 4, 2017

    @ipjohnson
    Owner

    I've pushed out a beta version including Grace.Factory. Let me know if you have any suggestions for changes.

  7. sonofaforester commented on Sep 5, 2017

    @sonofaforester
    ContributorAuthor

    Thanks for the quick turnaround! I'll be working on that this afternoon or tomorrow and will let you know.

  8. ipjohnson commented on Sep 6, 2017

    @ipjohnson
    Owner

    @sonofaforester I've pushed a new beta version including your change and the recursive support you mentioned earlier.

    Let me know how it goes.

  9. sonofaforester commented on Sep 8, 2017

    @sonofaforester
    ContributorAuthor

    This is working like a champ! Now that I understand Grace a little better, I ended up doing Lazy<> injection of most of the factories. Excited to have a nice replacement for Ninject which seems to be dead. Thanks for your quick work on this.

  10. ipjohnson commented on Sep 8, 2017

    @ipjohnson
    Owner

    Perfect. I'll look to roll out a release this weekend with this included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions