C# 클래스 openHistorian.HelperFunctions

Contains some random and useful functions.
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian

공개 메소드들

메소드 설명
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.

메소드 상세

ExpectError() 공개 정적인 메소드

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
리턴 void