C# Class SpeakFriend.Utilities.ConditionString

Inheritance: Condition
Afficher le fichier Open project: teamaton/speak-lib Class Usage Examples

Méthodes publiques

Méthode Description
AddToCriteria ( ICriteria criteria ) : void
AddToDisjunction ( NHibernate.Criterion.Disjunction disjunction ) : void
ConditionString ( ConditionContainer conditions, string propertyName ) : System
EqualTo ( string value ) : void

Sets the filter to given value

GetCriterion ( ) : ICriterion
GetString ( ) : string
IsActiveFilter ( ) : bool
IsNullOrEmpty ( ) : bool

Sets the condition to find empty/ not defined values

Like ( string value ) : void
NotNullOrEmpty ( ) : void
NullOrEmpty ( ) : void

Sets the filter to empty or null

OrLikeCaseIns ( string value ) : ConditionString
Reset ( ) : void

Setzt alle Werte des Filters zurück.

Private Methods

Méthode Description
GetLikeRestriction ( string value, bool caseInsensitive ) : ICriterion
IsValid ( string value ) : bool
RemoveIfInvalid ( string value ) : bool
ResetAndAddUnique ( ) : void

Method Details

AddToCriteria() public méthode

public AddToCriteria ( ICriteria criteria ) : void
criteria ICriteria
Résultat void

AddToDisjunction() public méthode

public AddToDisjunction ( NHibernate.Criterion.Disjunction disjunction ) : void
disjunction NHibernate.Criterion.Disjunction
Résultat void

ConditionString() public méthode

public ConditionString ( ConditionContainer conditions, string propertyName ) : System
conditions ConditionContainer
propertyName string
Résultat System

EqualTo() public méthode

Sets the filter to given value
public EqualTo ( string value ) : void
value string
Résultat void

GetCriterion() public méthode

public GetCriterion ( ) : ICriterion
Résultat ICriterion

GetString() public méthode

public GetString ( ) : string
Résultat string

IsActiveFilter() public méthode

public IsActiveFilter ( ) : bool
Résultat bool

IsNullOrEmpty() public méthode

Sets the condition to find empty/ not defined values
public IsNullOrEmpty ( ) : bool
Résultat bool

Like() public méthode

public Like ( string value ) : void
value string
Résultat void

NotNullOrEmpty() public méthode

public NotNullOrEmpty ( ) : void
Résultat void

NullOrEmpty() public méthode

Sets the filter to empty or null
public NullOrEmpty ( ) : void
Résultat void

OrLikeCaseIns() public méthode

public OrLikeCaseIns ( string value ) : ConditionString
value string
Résultat ConditionString

Reset() public méthode

Setzt alle Werte des Filters zurück.
public Reset ( ) : void
Résultat void