FactoryMethodBinding 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FactoryMethodBinding(MethodInfo, IReadOnlyList<ParameterBinding>, Type)
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
为静态工厂方法创建一个新 FactoryMethodBinding 实例。
public FactoryMethodBinding (System.Reflection.MethodInfo factoryMethod, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.ParameterBinding> parameterBindings, Type runtimeType);
new Microsoft.EntityFrameworkCore.Metadata.FactoryMethodBinding : System.Reflection.MethodInfo * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.ParameterBinding> * Type -> Microsoft.EntityFrameworkCore.Metadata.FactoryMethodBinding
Public Sub New (factoryMethod As MethodInfo, parameterBindings As IReadOnlyList(Of ParameterBinding), runtimeType As Type)
参数
- factoryMethod
- MethodInfo
要绑定到的工厂方法。
- parameterBindings
- IReadOnlyList<ParameterBinding>
要使用的参数。
- runtimeType
- Type
工厂方法创建的实例的 CLR 类型。
适用于
FactoryMethodBinding(Object, MethodInfo, IReadOnlyList<ParameterBinding>, Type)
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
- Source:
- FactoryMethodBinding.cs
为非静态工厂方法创建新 FactoryMethodBinding 实例。
public FactoryMethodBinding (object factoryInstance, System.Reflection.MethodInfo factoryMethod, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.ParameterBinding> parameterBindings, Type runtimeType);
new Microsoft.EntityFrameworkCore.Metadata.FactoryMethodBinding : obj * System.Reflection.MethodInfo * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.ParameterBinding> * Type -> Microsoft.EntityFrameworkCore.Metadata.FactoryMethodBinding
Public Sub New (factoryInstance As Object, factoryMethod As MethodInfo, parameterBindings As IReadOnlyList(Of ParameterBinding), runtimeType As Type)
参数
- factoryInstance
- Object
应在其上调用工厂方法的 对象。
- factoryMethod
- MethodInfo
要绑定到的工厂方法。
- parameterBindings
- IReadOnlyList<ParameterBinding>
要使用的参数。
- runtimeType
- Type
工厂方法创建的实例的 CLR 类型。