IExcludeTypeValidationFilter Interface

Summary

Provides an interface which is used to determine if [System.Type]()s are excluded from model validation.

Syntax

public interface IExcludeTypeValidationFilter

GitHub

View on GitHub

interface Microsoft.AspNet.Mvc.ModelBinding.Validation.IExcludeTypeValidationFilter

Methods

IsTypeExcluded(System.Type)

Determines if the given type is excluded from validation.

Arguments:
  • type (System.Type) – The [System.Type]() for which the check is to be performed.
Return type:

System.Boolean

Returns:

True if the type is to be excluded. False otherwise.

bool IsTypeExcluded(Type type)