/// <summary> /// Get the DefaultRandomGenerator instance using Lazy initialization /// </summary> /// <returns> /// The instance /// </returns> public static DefaultRandomGenerator Instance() { if (instance == null) { instance = new DefaultRandomGenerator(); } return instance; }
/// <summary> /// Get the DefaultRandomGenerator instance using Lazy initialization /// </summary> /// <returns> /// The instance /// </returns> public static DefaultRandomGenerator Instance() { if (instance == null) { instance = new DefaultRandomGenerator(); } return(instance); }