Show / Hide Table of Contents

Class AnnotationsExtensions

Useful extension methods for working with data annotations.

Inheritance
Object
AnnotationsExtensions
Inherited Members
System.Object.ToString()
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
Namespace: IRM.ComponentModel.DataAnnotations
Assembly: IRM.dll
Syntax
public static class AnnotationsExtensions

Methods

IsValid(Object)

Determines whether the specified object is valid.

Declaration
public static bool IsValid(this object model)
Parameters
Object model

The model to validate.

Returns
Boolean

true if the model is valid; otherwise false.

Back to top Generated by DocFX