Fixing a few comments relating to DefaultBodyModelValidator.
This commit is contained in:
parent
53379e4395
commit
37193adef2
|
|
@ -71,7 +71,7 @@ namespace Microsoft.AspNet.Mvc
|
|||
public List<InputFormatterDescriptor> InputFormatters { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a list of <see cref="ExcludedValidationTypesPredicates"/> which return whether the given type
|
||||
/// Gets a list of <see cref="ExcludeFromValidationDelegate"/> which return whether the given type
|
||||
/// should be excluded from Validation in <see cref="IBodyModelValidator"/>
|
||||
/// </summary>
|
||||
public List<ExcludeFromValidationDelegate> ExcludeFromValidationDelegates { get; }
|
||||
|
|
|
|||
|
|
@ -8,13 +8,13 @@ using Microsoft.AspNet.Mvc.ModelBinding;
|
|||
namespace Microsoft.AspNet.Mvc
|
||||
{
|
||||
/// <summary>
|
||||
/// Extensions for <see cref="MvcOptions.ExcludedValidationTypesPredicates"/>.
|
||||
/// Extensions for <see cref="MvcOptions.ExcludeFromValidationDelegates"/>.
|
||||
/// </summary>
|
||||
public static class ExcludeFromValidationDelegateExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Adds a delegate to the specified <paramref name="list" /> that excludes the properties of the specified type
|
||||
/// and and it's derived types from validation.
|
||||
/// Adds a delegate to the specified <paramref name="list" />
|
||||
/// that exludes the properties of the specified and it's derived types from validaton.
|
||||
/// </summary>
|
||||
/// <param name="list"><see cref="IList{T}"/> of <see cref="ExcludeFromValidationDelegate"/>.</param>
|
||||
/// <param name="type"><see cref="Type"/> which should be excluded from validation.</param>
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ using System;
|
|||
namespace Microsoft.AspNet.Mvc.ModelBinding
|
||||
{
|
||||
/// <summary>
|
||||
/// Delegate that determines if the specified type is excluded from validation.
|
||||
/// Delegate that determines if the specified <paramref name="type"/> is excluded from validation.
|
||||
/// </summary>
|
||||
/// <param name="type"><see cref="Type"/> which needs to be checked.</param>
|
||||
/// <returns><see cref="true"/> if excluded, <see cref="false"/> otherwise.</returns>
|
||||
/// <returns><c>true</c> if excluded, <c>false</c> otherwise.</returns>
|
||||
public delegate bool ExcludeFromValidationDelegate(Type type);
|
||||
}
|
||||
Loading…
Reference in New Issue