C# Class Seterlund.CodeGuard.Validators.StringValidatorExtensions

显示文件 Open project: barsgroup/Guard

Public Methods

Method Description
Contains ( this arg, string value ) : IArg
EndsWith ( this arg, string value ) : IArg
IsMatch ( this arg, string pattern ) : IArg
IsNotEmpty ( this arg ) : IArg
IsNotNullOrEmpty ( this arg ) : IArg
IsNotNullOrWhiteSpace ( this arg ) : IArg
Length ( this arg, int length ) : IArg
StartsWith ( this arg, string value ) : IArg

Method Details

Contains() public static method

public static Contains ( this arg, string value ) : IArg
arg this
value string
return IArg

EndsWith() public static method

public static EndsWith ( this arg, string value ) : IArg
arg this
value string
return IArg

IsMatch() public static method

public static IsMatch ( this arg, string pattern ) : IArg
arg this
pattern string
return IArg

IsNotEmpty() public static method

public static IsNotEmpty ( this arg ) : IArg
arg this
return IArg

IsNotNullOrEmpty() public static method

public static IsNotNullOrEmpty ( this arg ) : IArg
arg this
return IArg

IsNotNullOrWhiteSpace() public static method

public static IsNotNullOrWhiteSpace ( this arg ) : IArg
arg this
return IArg

Length() public static method

public static Length ( this arg, int length ) : IArg
arg this
length int
return IArg

StartsWith() public static method

public static StartsWith ( this arg, string value ) : IArg
arg this
value string
return IArg