@herskinduk Perhaps a stupid idea, but thought it might be worth some consideration. Currently the ItemFactory (via ContainerProvider?) reflects on the target assembly and works out which template Types map to which template IDs. Instead of doing this at runtime (reflection, boo!), could we just spit out a static class of some sort at generation-time, since we know all of this information at that point?
Let me know your thoughts, good sir!
@herskinduk Perhaps a stupid idea, but thought it might be worth some consideration. Currently the ItemFactory (via ContainerProvider?) reflects on the target assembly and works out which template Types map to which template IDs. Instead of doing this at runtime (reflection, boo!), could we just spit out a static class of some sort at generation-time, since we know all of this information at that point?
Let me know your thoughts, good sir!