C# Class Neddle.Validation.GuidValidator

Contains methods for validating Guid instances.
Afficher le fichier Open project: kcargile/neddle

Méthodes publiques

Méthode 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 méthode

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.
Résultat System.ComponentModel.DataAnnotations.ValidationResult