一款简单易用的基础网络通讯组件库。

DependencyTypeAttribute 构造函数

初始化一个依赖类型。当确定某个类型仅以某种特定方式注入时,可以过滤不必要的注入操作,以提高效率。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public DependencyTypeAttribute(
	DependencyType type
)

参数

type  DependencyType
可以叠加位域

参见