예제 #1
0
 public static void IsSucceeded(this IGuardClause guardClause, IdentityResult result)
 {
     if (!result.Succeeded)
     {
         throw new RutrackerException(result.GetError(), ExceptionEventTypes.InvalidParameters);
     }
 }