Esempio n. 1
0
 public static void NotSupported <TException>(string functionName, Func <string> getErrorMessage = null)
     where TException : Exception
 {
     ExceptionFactory.ThrowException(typeof(TException), getErrorMessage != null ? getErrorMessage.Invoke() : ErrorMessageFactory.ShouldBeSupported(functionName));
 }