DependencyInjectionMethodParameterBinding Oluşturucular

Tanım

Aşırı Yüklemeler

DependencyInjectionMethodParameterBinding(Type, Type, MethodInfo, IPropertyBase)

DependencyInjectionParameterBindingVerilen hizmet türünün verilen yöntemi için yeni bir örnek oluşturur.

DependencyInjectionMethodParameterBinding(Type, Type, MethodInfo, IPropertyBase[])

DependencyInjectionParameterBindingVerilen hizmet türünün verilen yöntemi için yeni bir örnek oluşturur.

DependencyInjectionMethodParameterBinding(Type, Type, MethodInfo, IPropertyBase)

DependencyInjectionParameterBindingVerilen hizmet türünün verilen yöntemi için yeni bir örnek oluşturur.

public DependencyInjectionMethodParameterBinding (Type parameterType, Type serviceType, System.Reflection.MethodInfo method, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase serviceProperty = default);
new Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionMethodParameterBinding : Type * Type * System.Reflection.MethodInfo * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionMethodParameterBinding
Public Sub New (parameterType As Type, serviceType As Type, method As MethodInfo, Optional serviceProperty As IPropertyBase = Nothing)

Parametreler

parameterType
Type

CLR türü parametresi.

serviceType
Type

Bağımlılık ekleme işleminden çözümlenen olarak hizmet CLR türleri

method
MethodInfo

Bağlanılacak hizmetin yöntemi.

serviceProperty
IPropertyBase

İlişkili IServiceProperty veya null.

Şunlara uygulanır

DependencyInjectionMethodParameterBinding(Type, Type, MethodInfo, IPropertyBase[])

DependencyInjectionParameterBindingVerilen hizmet türünün verilen yöntemi için yeni bir örnek oluşturur.

public DependencyInjectionMethodParameterBinding (Type parameterType, Type serviceType, System.Reflection.MethodInfo method, params Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[]? serviceProperties);
new Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionMethodParameterBinding : Type * Type * System.Reflection.MethodInfo * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[] -> Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionMethodParameterBinding
Public Sub New (parameterType As Type, serviceType As Type, method As MethodInfo, ParamArray serviceProperties As IPropertyBase())

Parametreler

parameterType
Type

CLR türü parametresi.

serviceType
Type

Bağımlılık ekleme işleminden çözümlenen olarak hizmet CLR türleri

method
MethodInfo

Bağlanılacak hizmetin yöntemi.

serviceProperties
IPropertyBase[]

İlişkili IServiceProperty nesneler veya null .

Şunlara uygulanır