C# Class openHistorian.HelperFunctions

Contains some random and useful functions.
Afficher le fichier Open project: GridProtectionAlliance/openHistorian

Méthodes publiques

Méthode Description
ExpectError ( System.Action errorFunction ) : void

Performs the given action action and throws an exception if the action does not error. This is useful for debugging code and testing for exceptions.

Method Details

ExpectError() public static méthode

Performs the given action action and throws an exception if the action does not error. This is useful for debugging code and testing for exceptions.
public static ExpectError ( System.Action errorFunction ) : void
errorFunction System.Action the action to perform
Résultat void