BodyBindingState Enum

Summary

Represents state of models which are bound using body.

Syntax

public enum BodyBindingState

GitHub

View on GitHub

enumeration Microsoft.AspNet.Mvc.ModelBinding.BodyBindingState

Fields

FormBased()

Represents if there is a [Microsoft.AspNet.Mvc.ModelBinding.BindingSource.Form](Microsoft.AspNet.Mvc.ModelBinding.BindingSource.yml) that has been found during the current model binding process.

FormBased = 2
FormatterBased()

Represents if there is a [Microsoft.AspNet.Mvc.ModelBinding.BindingSource.Body](Microsoft.AspNet.Mvc.ModelBinding.BindingSource.yml) that has been found during the current model binding process.

FormatterBased = 1
NotBodyBased()

Represents if there has been no metadata found which needs to read the body during the current model binding process.

NotBodyBased = 0