DependencyInjectionMethodParameterBinding クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
EF 内部依存関係挿入サービスのメソッドから、コンストラクター、ファクトリ メソッドなどのパラメーターへのバインドについて説明します。これは、 IServicePropertyを持つ場合と関連付けられていない場合もあります。
[System.Runtime.CompilerServices.Nullable(0)]
public class DependencyInjectionMethodParameterBinding : Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding
public class DependencyInjectionMethodParameterBinding : Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding
[<System.Runtime.CompilerServices.Nullable(0)>]
type DependencyInjectionMethodParameterBinding = class
inherit DependencyInjectionParameterBinding
type DependencyInjectionMethodParameterBinding = class
inherit DependencyInjectionParameterBinding
Public Class DependencyInjectionMethodParameterBinding
Inherits DependencyInjectionParameterBinding
- 継承
-
DependencyInjectionMethodParameterBinding
- 属性
注釈
詳細と例については、 コンストラクターを含むエンティティ型 を参照してください。
コンストラクター
| Name | 説明 |
|---|---|
| DependencyInjectionMethodParameterBinding(Type, Type, MethodInfo, IPropertyBase) |
指定したサービスの種類の特定のメソッドの新しい DependencyInjectionParameterBinding インスタンスを作成します。 |
| DependencyInjectionMethodParameterBinding(Type, Type, MethodInfo, IPropertyBase[]) |
指定したサービスの種類の特定のメソッドの新しい DependencyInjectionParameterBinding インスタンスを作成します。 |
プロパティ
| Name | 説明 |
|---|---|
| ConsumedProperties |
このバインディングによって処理されるプロパティは、他の方法で設定する必要はありません。 (継承元 ParameterBinding) |
| Method |
依存関係挿入サービス インターフェイスで定義されている、バインドされるメソッド。 |
| ParameterType |
パラメーター CLR 型。 (継承元 ParameterBinding) |
| ServiceDelegate |
エンティティ インスタンスに CLR サービス プロパティを設定するデリゲート。 |
| ServiceType |
EF 内部サービスの CLR 型。 (継承元 ServiceParameterBinding) |
メソッド
| Name | 説明 |
|---|---|
| BindToParameter(Expression, Expression) |
マテリアライズ式からコンストラクター、ファクトリ メソッドなどのパラメーターへのプロパティ値のバインドを表す式ツリーを作成します。 |
| BindToParameter(Expression, Expression) |
マテリアライズ式からコンストラクター、ファクトリ メソッドなどのパラメーターへのプロパティ値のバインドを表す式ツリーを作成します。 (継承元 DependencyInjectionParameterBinding) |
| BindToParameter(ParameterBindingInfo) |
マテリアライズ式からコンストラクター、ファクトリ メソッドなどのパラメーターへのプロパティ値のバインドを表す式ツリーを作成します。 |
| BindToParameter(ParameterBindingInfo) |
マテリアライズ式からコンストラクター、ファクトリ メソッドなどのパラメーターへのプロパティ値のバインドを表す式ツリーを作成します。 (継承元 ServiceParameterBinding) |
| With(IPropertyBase[]) |
使用される特定のプロパティを含むコピーを作成します。 |