Coder Social home page Coder Social logo

Method Injection about windsor HOT 6 CLOSED

castleproject avatar castleproject commented on August 17, 2024
Method Injection

from windsor.

Comments (6)

kkozmic avatar kkozmic commented on August 17, 2024

We already have .UsingFactoryMethod

from windsor.

dalefrancis88 avatar dalefrancis88 commented on August 17, 2024

Yeah i seen that however my main concern with that was that i was resolving components in the method which at the time made me think i was doing something wrong because there was no way for the service i was registering to know it had dependency on the component unless i added a depends on statement

Thanks for getting back to me though. What i am really trying to do is come up with something that i could add to castle windsor. We use it a lot and i thought learning to add components and moving through the source code would be the best way to do it.

Are there any smallish issues that need to be developed?

from windsor.

kkozmic avatar kkozmic commented on August 17, 2024

Thanks,

I'm on holidays right now.
Let me get back to you when I'm back

Krzysztof Kozmic
sent from my phone
On 28 Jan 2014 13:07, "dalefrancis88" [email protected] wrote:

Yeah i seen that however my main concern with that was that i was
resolving components in the method which at the time made me think i was
doing something wrong because there was no way for the service i was
registering to know it had dependency on the component unless i added a
depends on statement

Thanks for getting back to me though. What i am really trying to do is
come up with something that i could add to castle windsor. We use it a lot
and i thought learning to add components and moving through the source code
would be the best way to do it.

Are there any smallish issues that need to be developed?


Reply to this email directly or view it on GitHubhttps://github.com//issues/43#issuecomment-33451590
.

from windsor.

dalefrancis88 avatar dalefrancis88 commented on August 17, 2024

Thanks mate, appreciated.

Enjoy the holiday

from windsor.

dalefrancis88 avatar dalefrancis88 commented on August 17, 2024

Hey Krzystof,

Was just checking in to see if you'd finished your holiday and to see if you'd had any thoughts on what i could do to help out.

Dale

from windsor.

kkozmic avatar kkozmic commented on August 17, 2024

Hi,

sorry to be getting back to you so late. I saw you closed the issue and missed the fact it got re-opened.

Now, about your original issue, if I understand you correctly, you probably want to be looking at DefaultComponentActivator specifically overriding the Instantiateto delegate the instantiation to the factory method rather than the type's constructor.

About other issues, I'm going to go through the remaining open issues for both Windsor and Core and mark those that don't really require any intimate knowledge of the codebase with up for grabs label (and idea I'm shamelessly stealing from @NancyFx guys). Hopefully with that it'll be easier to find something to get started with.

cheers

from windsor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.