GetException() public static method

public static GetException ( System.Action action ) : Exception
action System.Action
return System.Exception
コード例 #1
0
 public static bool IsClassAvailable(string typeName)
 {
     return(ExceptionUtilities.GetException(() => Type.GetType(typeName)) == null);
 }