C# Class withSIX.Core.Validators.FileNameValidator

Datei anzeigen Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
IsValidName ( string value ) : bool
ReplaceInvalidCharacters ( string value ) : string
ValidateName ( string value ) : void

Private Methods

Method Description
ContainsOnlyValidCharacters ( string value ) : bool
GetCharacterIfValidOrReplaceIfInvalid ( char x ) : char

Method Details

IsValidName() public static method

public static IsValidName ( string value ) : bool
value string
return bool

ReplaceInvalidCharacters() public static method

public static ReplaceInvalidCharacters ( string value ) : string
value string
return string

ValidateName() public static method

public static ValidateName ( string value ) : void
value string
return void