ThrowInvalidOperation() 정적인 개인적인 메소드

static private ThrowInvalidOperation ( Func condition, string message ) : void
condition Func
message string
리턴 void
예제 #1
0
 private void ValidateSettingsAreLoaded()
 {
     ConfigGuard.ThrowInvalidOperation(() => !_isLoaded, "The config hasn't been initialised. Call Config.Initialise if you are using the global config or LoadSettings if you have created a separate instance.");
 }