C# Class Exceptions.SensitiveClass

Assume class work with very Sensitive data So, it implement very strict rules to deal with other classes. Other classes bound to send it the compatible data only.
Afficher le fichier Open project: fahidnasir/DotNet-ShortCourse2015 Class Usage Examples

Méthodes publiques

Méthode Description
SaveOnlyNumberSeventMultiple ( int number ) : bool

This method only accepts the values multiple of 7.

SaveOnlyTextContainPak ( string text ) : bool

Method Details

SaveOnlyNumberSeventMultiple() public méthode

This method only accepts the values multiple of 7.
public SaveOnlyNumberSeventMultiple ( int number ) : bool
number int
Résultat bool

SaveOnlyTextContainPak() public méthode

public SaveOnlyTextContainPak ( string text ) : bool
text string
Résultat bool