DependencyInjectionParameterBinding 构造函数

定义

重载

DependencyInjectionParameterBinding(Type, Type, IPropertyBase)

为给定服务类型创建一个新 DependencyInjectionParameterBinding 实例。

DependencyInjectionParameterBinding(Type, Type, IPropertyBase[])

为给定服务类型创建一个新 DependencyInjectionParameterBinding 实例。

DependencyInjectionParameterBinding(Type, Type, IPropertyBase)

Source:
DependencyInjectionParameterBinding.cs
Source:
DependencyInjectionParameterBinding.cs
Source:
DependencyInjectionParameterBinding.cs

为给定服务类型创建一个新 DependencyInjectionParameterBinding 实例。

public DependencyInjectionParameterBinding (Type parameterType, Type serviceType, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase serviceProperty = default);
new Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding : Type * Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding
Public Sub New (parameterType As Type, serviceType As Type, Optional serviceProperty As IPropertyBase = Nothing)

参数

parameterType
Type

参数 CLR 类型。

serviceType
Type

从依赖项注入解析的服务 CLR 类型

serviceProperty
IPropertyBase

关联的 IServiceProperty或 null。

适用于

DependencyInjectionParameterBinding(Type, Type, IPropertyBase[])

Source:
DependencyInjectionParameterBinding.cs
Source:
DependencyInjectionParameterBinding.cs
Source:
DependencyInjectionParameterBinding.cs
Source:
DependencyInjectionParameterBinding.cs

为给定服务类型创建一个新 DependencyInjectionParameterBinding 实例。

public DependencyInjectionParameterBinding (Type parameterType, Type serviceType, params Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[]? serviceProperties);
new Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding : Type * Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[] -> Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding
Public Sub New (parameterType As Type, serviceType As Type, ParamArray serviceProperties As IPropertyBase())

参数

parameterType
Type

参数 CLR 类型。

serviceType
Type

从依赖项注入解析的服务 CLR 类型

serviceProperties
IPropertyBase[]

关联的 IServiceProperty 对象或 null

适用于