C# Class Neddle.Validation.GuidValidator

Contains methods for validating Guid instances.
Datei anzeigen Open project: kcargile/neddle

Public Methods

Method Description
IsNotEmpty ( System.Guid obj, System.ComponentModel.DataAnnotations.ValidationContext context ) : System.ComponentModel.DataAnnotations.ValidationResult

Determines whether the specified Guid is equal to Guid.Empty.

Method Details

IsNotEmpty() public static method

Determines whether the specified Guid is equal to Guid.Empty.
public static IsNotEmpty ( System.Guid obj, System.ComponentModel.DataAnnotations.ValidationContext context ) : System.ComponentModel.DataAnnotations.ValidationResult
obj System.Guid The object.
context System.ComponentModel.DataAnnotations.ValidationContext The context.
return System.ComponentModel.DataAnnotations.ValidationResult