Dependency Injection with Unity
Dominic Betts & Grigori Melnik & Fernando Simonazzi & Mani Subramanian [Dominic Betts]
Unity is a general-purpose container for use in any type of Microsoft.NET Framework-based application. It provides all of the features commonly found in dependency injection mechanisms, including methods to register type mappings and object instances, resolve objects, manage object lifetimes, and inject dependent objects into the parameters of constructors and methods, and as the value of properties of objects it resolves. This guide is one of the resources available with the Unity 3 release to help you to learn about Unity, learn about some of the problems and issues that Unity can help you to address, and get started using Unity in your applications. The guide also contains an introduction to dependency injection that you can read in isolation even if you don’t plan to use Unity, although we hope you will.
Рік:
2013
Видавництво:
Microsoft patterns & practices
Мова:
english
Файл:
EPUB, 1.02 MB
IPFS:
,
english, 2013