Compartir a través de


FactoryMethodBinding Constructores

Definición

Sobrecargas

FactoryMethodBinding(MethodInfo, IReadOnlyList<ParameterBinding>, Type)

Crea una nueva FactoryMethodBinding instancia de para un método de generador estático.

FactoryMethodBinding(Object, MethodInfo, IReadOnlyList<ParameterBinding>, Type)

Crea una nueva FactoryMethodBinding instancia para un método de generador no estático.

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

Crea una nueva FactoryMethodBinding instancia de para un método de generador estático.

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)

Parámetros

factoryMethod
MethodInfo

Método de fábrica al que se va a enlazar.

parameterBindings
IReadOnlyList<ParameterBinding>

Parámetros que se van a usar.

runtimeType
Type

Tipo CLR de la instancia creada por el método factory.

Se aplica a

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

Crea una nueva FactoryMethodBinding instancia para un método de generador no estático.

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)

Parámetros

factoryInstance
Object

Objeto en el que se debe llamar al método factory.

factoryMethod
MethodInfo

Método de fábrica al que se va a enlazar.

parameterBindings
IReadOnlyList<ParameterBinding>

Parámetros que se van a usar.

runtimeType
Type

Tipo CLR de la instancia creada por el método factory.

Se aplica a