ValidateObjectMembersAttribute コンストラクター

定義

オーバーロード

名前 説明
ValidateObjectMembersAttribute()

ValidateObjectMembersAttribute クラスの新しいインスタンスを初期化します。

ValidateObjectMembersAttribute(Type)

ValidateObjectMembersAttribute クラスの新しいインスタンスを初期化します。

ValidateObjectMembersAttribute()

ソース:
ValidateObjectMembersAttribute.cs
ソース:
ValidateObjectMembersAttribute.cs
ソース:
ValidateObjectMembersAttribute.cs
ソース:
ValidateObjectMembersAttribute.cs

ValidateObjectMembersAttribute クラスの新しいインスタンスを初期化します。

public:
 ValidateObjectMembersAttribute();
public ValidateObjectMembersAttribute();
Public Sub New ()

注釈

フィールドまたはプロパティにこのコンストラクターを使用すると、フィールド/プロパティの型の個々のメンバーの検証を生成するようにコード ジェネレーターに指示します。

適用対象

ValidateObjectMembersAttribute(Type)

ソース:
ValidateObjectMembersAttribute.cs
ソース:
ValidateObjectMembersAttribute.cs
ソース:
ValidateObjectMembersAttribute.cs
ソース:
ValidateObjectMembersAttribute.cs

ValidateObjectMembersAttribute クラスの新しいインスタンスを初期化します。

public:
 ValidateObjectMembersAttribute(Type ^ validator);
public ValidateObjectMembersAttribute(Type validator);
new Microsoft.Extensions.Options.ValidateObjectMembersAttribute : Type -> Microsoft.Extensions.Options.ValidateObjectMembersAttribute
Public Sub New (validator As Type)

パラメーター

validator
Type

フィールド/プロパティの型の IValidateOptions<TOptions> を実装する型。

注釈

フィールドまたはプロパティにこのコンストラクターを使用すると、コード ジェネレーターは、指定された型を使用して、フィールドまたはプロパティによって保持されているオブジェクトを検証するように指示します。

適用対象