C# Class System.Contract

Afficher le fichier Open project: joeduffy/slice.net Class Usage Examples

Méthodes publiques

Méthode Description
Abandon ( ) : void
Assert ( bool condition ) : void
Requires ( bool condition ) : void
RequiresInInclusiveRange ( int start, int length ) : void
RequiresInInclusiveRange ( int start, int end, int length ) : void

Private Methods

Méthode Description
RequiresInRange ( int start, int length ) : void

Method Details

Abandon() public static méthode

public static Abandon ( ) : void
Résultat void

Assert() public static méthode

public static Assert ( bool condition ) : void
condition bool
Résultat void

Requires() public static méthode

public static Requires ( bool condition ) : void
condition bool
Résultat void

RequiresInInclusiveRange() public static méthode

public static RequiresInInclusiveRange ( int start, int length ) : void
start int
length int
Résultat void

RequiresInInclusiveRange() public static méthode

public static RequiresInInclusiveRange ( int start, int end, int length ) : void
start int
end int
length int
Résultat void