コード例 #1
0
 public static bool TryFind <T>(this ILogical scope, string name, out T result) where T : class
 {
     try
     {
         result = scope.Find <T>(name);
     }
     catch
     {
         result = null;
     }
     return(result != null);
 }