예제 #1
0
 /// <summary>
 /// Returns a random number
 /// </summary>
 /// <param name="max">Maximum number</param>
 /// <returns>Random number between 0 and the max</returns>
 public int RandomNumber(int max)
 {
     return(FeaturesHelper.IsEnabled(2)
         ? CalculatorsHelper.RandomNumber(max)
         : CalculatorsHelper.BadRandomNumber(max));
 }
예제 #2
0
 public bool FeatureIsEnabled(int id)
 {
     return(FeaturesHelper.IsEnabled(id));
 }