Share via


FactoryMethodBinding Konstruktoren

Definition

Überlädt

FactoryMethodBinding(MethodInfo, IReadOnlyList<ParameterBinding>, Type)

Erstellt eine neue FactoryMethodBinding instance für eine statische Factorymethode.

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

Erstellt eine neue FactoryMethodBinding instance für eine nicht statische Factorymethode.

FactoryMethodBinding(MethodInfo, IReadOnlyList<ParameterBinding>, Type)

Erstellt eine neue FactoryMethodBinding instance für eine statische Factorymethode.

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)

Parameter

factoryMethod
MethodInfo

Die Factorymethode, an die eine Bindung gebunden werden soll.

parameterBindings
IReadOnlyList<ParameterBinding>

Die zu verwendenden Parameter.

runtimeType
Type

Der CLR-Typ der instance, die von der Factorymethode erstellt wurde.

Gilt für:

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

Erstellt eine neue FactoryMethodBinding instance für eine nicht statische Factorymethode.

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)

Parameter

factoryInstance
Object

Das Objekt, für das die Factorymethode aufgerufen werden soll.

factoryMethod
MethodInfo

Die Factorymethode, an die eine Bindung gebunden werden soll.

parameterBindings
IReadOnlyList<ParameterBinding>

Die zu verwendenden Parameter.

runtimeType
Type

Der CLR-Typ der instance, die von der Factorymethode erstellt wurde.

Gilt für: