This commit is contained in:
Eugene Sadovoi 2019-03-20 21:55:57 -04:00
Родитель 2f2ac6b2af
Коммит a8d30027e7
2 изменённых файлов: 3 добавлений и 1 удалений

Двоичные данные
images/resolver-override.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 19 KiB

Просмотреть файл

@ -14,10 +14,12 @@ Use PropertyOverride to override the value of the specified property or properti
Use DependencyOverride to override the value injected whenever there is a dependency of the given type. DependencyOverride overrides all instances where the type matches. Both parameter overrides and dependency overrides support generic types and multiple overrides.
Overrides work with the constructor that is selected for the type, by attribute or configuration. If the constructor to be used is not identified with an attribute or explicit container configuration, then the default behavior is that the constructor with the most parameters will be used.
A parameter and property override never affects what element gets selected. They only control the value of the specified parameter or property. You do not change which constructor is called with an override, and you do not change which properties get set with an override.
* [Parameter Overrides](xref:Tutorial.Resolution.Override.Parameter)
* [Property Overrides](xref:Tutorial.Resolution.Override.Property)
* [Field Overrides](xref:Tutorial.Resolution.Override.Field)
* [Dependency Overrides](xref:Tutorial.Resolution.Override.Dependency)
![GitHub Logo](/images/resolver-override.png)