Show / Hide Table of Contents

    Class ModelStateDictionaryExtensions

    Adds an extension method to Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary objects to set a list of errors.
    Inheritance
    Object
    ModelStateDictionaryExtensions
    Namespace: XploRe.AspNetCore.Mvc.ModelBinding
    Assembly: XploRe.AspNetCore.Mvc.dll
    Syntax
    public static class ModelStateDictionaryExtensions : Object

    Methods

    Name Description
    AddModelErrors(ModelStateDictionary, IEnumerable<String>) Adds a list of error descriptions with an empty key to the model state.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.