Class ScopeModelBinder
Implements
Inherited Members
Namespace: Microsoft.GNS.Roster.Web
Assembly: Microsoft.GNS.Roster.Web.dll
Syntax
public class ScopeModelBinder : IModelBinder
Methods
View SourceBindModelAsync(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 A model binder that completes successfully should set Result to a value returned from Success(object). |