From 23011b498ec1e5cb7fa0d55dbb79bee4875c5d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=84=E9=BB=98?= Date: Fri, 31 Mar 2023 09:50:04 +0000 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=BD=BB=E9=87=8F=E7=BA=A7PR=E3=80=91?= =?UTF-8?q?update=20handbook/docs/dependency-injection.mdx.=20=E5=8F=91?= =?UTF-8?q?=E7=8E=B0=E9=94=99=E5=88=AB=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 缄默 --- handbook/docs/dependency-injection.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handbook/docs/dependency-injection.mdx b/handbook/docs/dependency-injection.mdx index 272be00671..60863e65da 100644 --- a/handbook/docs/dependency-injection.mdx +++ b/handbook/docs/dependency-injection.mdx @@ -533,7 +533,7 @@ namespace Furion.Web.Entry.Controllers - `SelfWithFirstInterface`:注册自己和第一个接口 - `ImplementedInterfaces`:注册所有接口 - `All`:注册自己包括所有接口 ,**默认值** -- `Named`:配置实例别名,通过别名可以解析接口,如同一个接口有多个实现,那么可以通过别名解析不同的实现,默认只为实现类的类名 +- `Named`:配置实例别名,通过别名可以解析接口,如同一个接口有多个实现,那么可以通过别名解析不同的实现,默认值为实现类的类名 - `Order`:注册排序,数字越大,则越在最后注册,默认 `0` - `Proxy`:配置代理拦截类型,也就是 `AOP`,**代理类型必须继承 `AspectDispatchProxy` 类和 `IDispatchProxy` 接口**,无默认值 - `ExceptInterfaces`:配置忽略注册的接口,`Type[]` 类型 -- Gitee