次の方法で共有


DependencyInjectionMethodParameterBinding コンストラクター

定義

オーバーロード

DependencyInjectionMethodParameterBinding(Type, Type, MethodInfo, IPropertyBase)

指定されたサービスの種類の指定されたメソッドの新しい DependencyInjectionParameterBinding インスタンスを作成します。

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

指定されたサービスの種類の指定されたメソッドの新しい DependencyInjectionParameterBinding インスタンスを作成します。

DependencyInjectionMethodParameterBinding(Type, Type, MethodInfo, IPropertyBase)

指定されたサービスの種類の指定されたメソッドの新しい DependencyInjectionParameterBinding インスタンスを作成します。

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)

パラメーター

parameterType
Type

パラメーター CLR 型。

serviceType
Type

依存関係の挿入から解決されたサービス CLR 型

method
MethodInfo

バインドするサービスの メソッド。

serviceProperty
IPropertyBase

関連付けられた IServiceProperty、または null。

適用対象

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

指定されたサービスの種類の指定されたメソッドの新しい DependencyInjectionParameterBinding インスタンスを作成します。

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())

パラメーター

parameterType
Type

パラメーター CLR 型。

serviceType
Type

依存関係の挿入から解決されたサービス CLR 型

method
MethodInfo

バインドするサービスの メソッド。

serviceProperties
IPropertyBase[]

関連付けられた IServiceProperty オブジェクト(または null)。

適用対象