예제 #1
0
 public static Boolean IsResolved(this Bet bet, DateTime now)
 {
     return(!bet.IsOpenForBetting(now) && !bet.Game.IsPendingUpdate(now));
 }
예제 #2
0
 public static Boolean IsOpenForBetting(this Bet bet, DateTime now)
 {
     return(bet.Game.IsOpen(now));
 }
예제 #3
0
 public static Boolean IsResolved(this Bet bet)
 {
     return(bet.IsResolved(DateTime.UtcNow));
 }
예제 #4
0
 public static Boolean IsOpenForBetting(this Bet bet)
 {
     return(bet.IsOpenForBetting(DateTime.UtcNow));
 }