C# Class Binboo.Core.Commands.Arguments.ParamValidator

Afficher le fichier Open project: adrianoc/binboo Class Usage Examples

Méthodes publiques

Свойство Type Description
Anything ParamValidator
AnythingStartingWithText ParamValidator
QuotedString ParamValidator

Méthodes publiques

Méthode Description
AsOptional ( ) : ParamValidator
ButNot ( ) : ParamValidator
Custom ( string regex, bool optional ) : ParamValidator
From ( IEnumerable names ) : ParamValidator
IsMatch ( string candidate ) : bool
ToString ( ) : string

Méthodes protégées

Méthode Description
ParamValidator ( string regex ) : System.Collections.Generic
ParamValidator ( string regex, bool optional ) : System.Collections.Generic

Private Methods

Méthode Description
RegExpFor ( string name ) : string

Method Details

AsOptional() public méthode

public AsOptional ( ) : ParamValidator
Résultat ParamValidator

ButNot() public méthode

public ButNot ( ) : ParamValidator
Résultat ParamValidator

Custom() public static méthode

public static Custom ( string regex, bool optional ) : ParamValidator
regex string
optional bool
Résultat ParamValidator

From() public static méthode

public static From ( IEnumerable names ) : ParamValidator
names IEnumerable
Résultat ParamValidator

IsMatch() public méthode

public IsMatch ( string candidate ) : bool
candidate string
Résultat bool

ParamValidator() protected méthode

protected ParamValidator ( string regex ) : System.Collections.Generic
regex string
Résultat System.Collections.Generic

ParamValidator() protected méthode

protected ParamValidator ( string regex, bool optional ) : System.Collections.Generic
regex string
optional bool
Résultat System.Collections.Generic

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Anything public_oe static_oe property

public static ParamValidator,Binboo.Core.Commands.Arguments Anything
Résultat ParamValidator

AnythingStartingWithText public_oe static_oe property

public static ParamValidator,Binboo.Core.Commands.Arguments AnythingStartingWithText
Résultat ParamValidator

QuotedString public_oe static_oe property

public static ParamValidator,Binboo.Core.Commands.Arguments QuotedString
Résultat ParamValidator