AdysTech.InfluxDB.Client.Net.Tests.DataGen.RandomNumber C# (CSharp) Method

RandomNumber() public static method

public static RandomNumber ( int min, int max ) : int
min int
max int
return int
        public static int RandomNumber(int min, int max)
        {
            lock ( syncLock )
            { // synchronize
                return random.Next (min, max);
            }
        }