Show / Hide Table of Contents

    Class FlagsEnumModelBinder

    Binds a flags enum in a model.

    Inheritance
    System.Object
    FlagsEnumModelBinder
    Implements
    Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ChameleonForms.ModelBinders
    Assembly: ChameleonForms.dll
    Syntax
    public class FlagsEnumModelBinder : IModelBinder

    Methods

    | Improve this Doc View Source

    BindModelAsync(ModelBindingContext)

    Called when binding a model using this model binder.

    Declaration
    public Task BindModelAsync(ModelBindingContext bindingContext)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext

    The context within which binding occurs

    Returns
    Type Description
    System.Threading.Tasks.Task

    Implements

    Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder

    Extension Methods

    HtmlAttributesExtensions.ToHtmlAttributes(Object)
    • Improve this Doc
    • View Source
    Back to top © Copyright 2012-2020 MRCollective, Rob Moore, Matt Davies and the contributors to ChameleonForms.