// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.ModelBinding
{
///
/// An entry in a .
///
public class ModelStateEntry
{
///
/// Gets the raw value from the request associated with this entry.
///
public object RawValue { get; set; }
///
/// Gets the set of values contained in , joined into a comma-separated string.
///
public string AttemptedValue { get; set; }
///
/// Gets the for this entry.
///
public ModelErrorCollection Errors { get; } = new ModelErrorCollection();
///
/// Gets or sets the for this entry.
///
public ModelValidationState ValidationState { get; set; }
}
}