Patterns for Referencing Dependencies in Cross Platform Development

added by DotNetKicks
2/13/2017 3:15:51 PM

1 Kicks, 241 Views

There are many ways to obtain a reference to a dependency in programming. You may have heard of patterns called Service Locator, Constructor Injection, Static Instances or even PubSub. All of these are valid patterns and have their uses, but there are also many incorrect ways to use them.