C# Class withSIX.Core.Validators.FileNameValidator

Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode Description
IsValidName ( string value ) : bool
ReplaceInvalidCharacters ( string value ) : string
ValidateName ( string value ) : void

Private Methods

Méthode Description
ContainsOnlyValidCharacters ( string value ) : bool
GetCharacterIfValidOrReplaceIfInvalid ( char x ) : char

Method Details

IsValidName() public static méthode

public static IsValidName ( string value ) : bool
value string
Résultat bool

ReplaceInvalidCharacters() public static méthode

public static ReplaceInvalidCharacters ( string value ) : string
value string
Résultat string

ValidateName() public static méthode

public static ValidateName ( string value ) : void
value string
Résultat void