DependencyInjectionMethodParameterBinding 类    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
描述从 EF 内部依赖项注入服务上的方法到构造函数、工厂方法或类似参数的绑定,该方法可能也具有或可能没有关联 IServiceProperty。
public class DependencyInjectionMethodParameterBinding : Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding
	type DependencyInjectionMethodParameterBinding = class
    inherit DependencyInjectionParameterBinding
	Public Class DependencyInjectionMethodParameterBinding
Inherits DependencyInjectionParameterBinding
		- 继承
 - 
				DependencyInjectionMethodParameterBinding
 
注解
有关详细信息和示例 ,请参阅具有构造函数的实体类型 。
构造函数
属性
| ConsumedProperties | 
		 由此绑定处理的属性,因此不需要以某种其他方式设置。 (继承自 ParameterBinding) | 
        	
| Method | 
		 绑定到的方法,如依赖关系注入服务接口上定义的那样。  | 
        	
| ParameterType | 
		 参数 CLR 类型。 (继承自 ParameterBinding) | 
        	
| ServiceDelegate | 
		 在实体实例上设置 CLR 服务属性的委托。  | 
        	
| ServiceDelegate | 
		 在实体实例上设置 CLR 服务属性的委托。 (继承自 DependencyInjectionParameterBinding) | 
        	
| ServiceType | 
		 EF 内部服务 CLR 类型。 (继承自 ServiceParameterBinding) | 
        	
方法
| BindToParameter(Expression, Expression) | 
		 创建表示属性值从具体化表达式到构造函数参数、工厂方法等的绑定的表达式树。  | 
        	
| BindToParameter(Expression, Expression) | 
		 创建表示属性值从具体化表达式到构造函数参数、工厂方法等的绑定的表达式树。 (继承自 DependencyInjectionParameterBinding) | 
        	
| BindToParameter(ParameterBindingInfo) | 
		 创建表示属性值从具体化表达式到构造函数参数、工厂方法等的绑定的表达式树。  | 
        	
| BindToParameter(ParameterBindingInfo) | 
		 创建表示属性值从具体化表达式到构造函数参数、工厂方法等的绑定的表达式树。 (继承自 ServiceParameterBinding) | 
        	
| With(IPropertyBase[]) | 
		 创建一个包含给定使用属性的副本。  | 
        	
| With(IPropertyBase[]) | 
		 创建一个包含给定使用属性的副本。 (继承自 DependencyInjectionParameterBinding) |