Steven Robbins is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

grumpydev / TinyIoC

An easy to use, hassle free, Inversion of Control Container for small projects and beginners alike.

Clone this repository (size: 858.0 KB): HTTPS / SSH
hg clone https://bitbucket.org/grumpydev/tinyioc
hg clone ssh://hg@bitbucket.org/grumpydev/tinyioc

Issues

#4 Add non-generic Register and Resolve overloads

Reported by Steven Robbins

For types only known at runtime. Will likely switch this on/off as a define as I think it muddies the API somewhat.

Requested by Tao.

Status: resolved Responsible: Steven Robbins Type: enhancement Priority: major
Milestone: none Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Steven Robbins

    written

    All resolve methods have corresponding non-generic versions. Registration currently still generic only.

  2. #2 Steven Robbins

    written

    • Changed status from new to resolved.

    Added non-generic overloads for all but factory register methods.

    Decided against implementing non-generic factory registration as the type would have to be known at runtime to create the factory type, or the factory would have to return object.

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?