Lazy Unity Injection

added by tdupont
8/5/2012 10:28:33 AM

0 Kicks, 72 Views

One way to trim a deep or expensive dependency tree is to inject Lazy types of your services. Lazy injection will prevent an optional resource from being instantiated until it is actually needed; this can often be a crucial performance optimization.