Skip to content

Instantly share code, notes, and snippets.

@stej
Created July 22, 2010 11:22
Show Gist options
  • Save stej/485851 to your computer and use it in GitHub Desktop.
Save stej/485851 to your computer and use it in GitHub Desktop.
if (type == SType.Noc && method == SMethod.Sequential) return RE.Take(null, value);
if (type == SType.Percentage && method == SMethod.Sequential) return RE.TakePart(null, value);
if (type == SType.Noc && method == SMethod.Random) return RE.Random(null, value, (int)DateTime.Now.Ticks);
if (type == SType.Percentage && method == SMethod.Random) return RE.RandomPart(null, value, (int)DateTime.Now.Ticks);
if (type == SType.Noc && method == SMethod.Sequential) return RE.Take(null, value);
if (type == SType.Percentage && method == SMethod.Sequential) return RE.TakePart(null, value);
if (type == SType.Noc && method == SMethod.Random) return RE.Random(null, value, (int)DateTime.Now.Ticks);
if (type == SType.Percentage && method == SMethod.Random) return RE.RandomPart(null, value, (int)DateTime.Now.Ticks);
if (type == SType.Noc && method == SMethod.Sequential)
return RE.Take(null, value);
if (type == SType.Percentage && method == SMethod.Sequential)
return RE.TakePart(null, value);
if (type == SType.Noc && method == SMethod.Random)
return RE.Random(null, value, (int)DateTime.Now.Ticks);
if (type == SType.Percentage && method == SMethod.Random)
return RE.RandomPart(null, value, (int)DateTime.Now.Ticks);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment