C# Class Umbraco.Belle.Controllers.ContentItemBinder

Binds the content model to the controller action for the posted multi-part Post
Inheritance: IModelBinder
Mostrar archivo Open project: umbraco/Belle

Public Methods

Method Description
BindModel ( System.Web.Http.Controllers.HttpActionContext actionContext, System.Web.Http.ModelBinding.ModelBindingContext bindingContext ) : bool

Private Methods

Method Description
GetModel ( HttpContent content, System.Net.Http.MultipartFormDataStreamProvider provider ) : Task

Builds the model from the request contents

Method Details

BindModel() public method

public BindModel ( System.Web.Http.Controllers.HttpActionContext actionContext, System.Web.Http.ModelBinding.ModelBindingContext bindingContext ) : bool
actionContext System.Web.Http.Controllers.HttpActionContext
bindingContext System.Web.Http.ModelBinding.ModelBindingContext
return bool