Aracılığıyla paylaş


IConstructorBindingFactory.TryBindConstructor Yöntem

Tanım

Aşırı Yüklemeler

TryBindConstructor(IConventionEntityType, ConstructorInfo, InstantiationBinding, IEnumerable<ParameterInfo>)

Kaynak:
IConstructorBindingFactory.cs
Kaynak:
IConstructorBindingFactory.cs
Kaynak:
IConstructorBindingFactory.cs

Verilen varlık türü ve için bir InstantiationBinding oluşturma denemeleri ConstructorInfo

public bool TryBindConstructor(Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Reflection.ConstructorInfo constructor, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding binding, out System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo> unboundParameters);
public bool TryBindConstructor(Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Reflection.ConstructorInfo constructor, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? binding, out System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo>? unboundParameters);
abstract member TryBindConstructor : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * System.Reflection.ConstructorInfo * InstantiationBinding * seq -> bool
Public Function TryBindConstructor (entityType As IConventionEntityType, constructor As ConstructorInfo, ByRef binding As InstantiationBinding, ByRef unboundParameters As IEnumerable(Of ParameterInfo)) As Boolean

Parametreler

entityType
IConventionEntityType

Varlık türü.

constructor
ConstructorInfo

Kullanılacak oluşturucu.

binding
InstantiationBinding

Bağlama veya nullnull oluşturulup oluşturulamadığı.

unboundParameters
IEnumerable<ParameterInfo>

Bağlanamayan parametreler.

Döndürülenler

true bir bağlama oluşturulduysa; false Aksi takdir -de.

Şunlara uygulanır

TryBindConstructor(IMutableEntityType, ConstructorInfo, InstantiationBinding, IEnumerable<ParameterInfo>)

Kaynak:
IConstructorBindingFactory.cs
Kaynak:
IConstructorBindingFactory.cs
Kaynak:
IConstructorBindingFactory.cs

Verilen varlık türü ve için bir InstantiationBinding oluşturma denemeleri ConstructorInfo

public bool TryBindConstructor(Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Reflection.ConstructorInfo constructor, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding binding, out System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo> unboundParameters);
public bool TryBindConstructor(Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Reflection.ConstructorInfo constructor, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? binding, out System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo>? unboundParameters);
abstract member TryBindConstructor : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Reflection.ConstructorInfo * InstantiationBinding * seq -> bool
Public Function TryBindConstructor (entityType As IMutableEntityType, constructor As ConstructorInfo, ByRef binding As InstantiationBinding, ByRef unboundParameters As IEnumerable(Of ParameterInfo)) As Boolean

Parametreler

entityType
IMutableEntityType

Varlık türü.

constructor
ConstructorInfo

Kullanılacak oluşturucu.

binding
InstantiationBinding

Bağlama veya nullnull oluşturulup oluşturulamadığı.

unboundParameters
IEnumerable<ParameterInfo>

Bağlanamayan parametreler.

Döndürülenler

true bir bağlama oluşturulduysa; false Aksi takdir -de.

Şunlara uygulanır