Show / Hide Table of Contents

Class ScopeModelBinder

Inheritance
object
ScopeModelBinder
Implements
IModelBinder
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.GNS.Roster.Web
Assembly: Microsoft.GNS.Roster.Web.dll
Syntax
public class ScopeModelBinder : IModelBinder

Methods

View Source

BindModelAsync(ModelBindingContext)

Attempts to bind a model.

Declaration
public Task BindModelAsync(ModelBindingContext bindingContext)
Parameters
Type Name Description
ModelBindingContext bindingContext

The ModelBindingContext.

Returns
Type Description
Task

A Task which will complete when the model binding process completes.

If model binding was successful, the Result should have IsModelSet set to true.

A model binder that completes successfully should set Result to a value returned from Success(object).

Implements

IModelBinder
  • View Source
In this article
Back to top Generated by DocFX