Aracılığıyla paylaş


ModelBindingContext.EnterNestedScope Yöntem

Tanım

Aşırı Yüklemeler

EnterNestedScope()

Bu bağlama bir durum katmanı iter. IModelBinder uygulamaları, özellikleri veya koleksiyon öğelerini bağlarken özyinelemenin bir parçası olarak bunu çağırır.

EnterNestedScope(ModelMetadata, String, String, Object)

Bu bağlama bir durum katmanı iter. IModelBinder uygulamaları, özellikleri veya koleksiyon öğelerini bağlarken özyinelemenin bir parçası olarak bunu çağırır.

EnterNestedScope()

Kaynak:
ModelBindingContext.cs
Kaynak:
ModelBindingContext.cs
Kaynak:
ModelBindingContext.cs

Bu bağlama bir durum katmanı iter. IModelBinder uygulamaları, özellikleri veya koleksiyon öğelerini bağlarken özyinelemenin bir parçası olarak bunu çağırır.

public:
 abstract Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingContext::NestedScope EnterNestedScope();
public abstract Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.NestedScope EnterNestedScope ();
abstract member EnterNestedScope : unit -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.NestedScope
Public MustOverride Function EnterNestedScope () As ModelBindingContext.NestedScope

Döndürülenler

ModelBindingContext.NestedScope Çağrıldığı bir EnterNestedScope() deyimde kullanılması gereken bir using kapsam nesnesi.

Şunlara uygulanır

EnterNestedScope(ModelMetadata, String, String, Object)

Kaynak:
ModelBindingContext.cs
Kaynak:
ModelBindingContext.cs
Kaynak:
ModelBindingContext.cs

Bu bağlama bir durum katmanı iter. IModelBinder uygulamaları, özellikleri veya koleksiyon öğelerini bağlarken özyinelemenin bir parçası olarak bunu çağırır.

public:
 abstract Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingContext::NestedScope EnterNestedScope(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ modelMetadata, System::String ^ fieldName, System::String ^ modelName, System::Object ^ model);
public abstract Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.NestedScope EnterNestedScope (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, string fieldName, string modelName, object model);
public abstract Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.NestedScope EnterNestedScope (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, string fieldName, string modelName, object? model);
abstract member EnterNestedScope : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * string * string * obj -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.NestedScope
Public MustOverride Function EnterNestedScope (modelMetadata As ModelMetadata, fieldName As String, modelName As String, model As Object) As ModelBindingContext.NestedScope

Parametreler

modelMetadata
ModelMetadata

ModelMetadata özelliğine ModelMetadata atamak için.

fieldName
String

Özelliğe atanacak FieldName ad.

modelName
String

Özelliğe atanacak ModelName ad.

model
Object

Özelliğine atanacak Model örnek.

Döndürülenler

ModelBindingContext.NestedScope Çağrıldığı bir EnterNestedScope(ModelMetadata, String, String, Object) deyimde kullanılması gereken bir using kapsam nesnesi.

Şunlara uygulanır