private void InitializeCollection(ref IList<string> colletion, IRandomData data) { colletion = data.GetData() .Split( new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries) .ToList(); }
public static void SetUpData(IRandomData data) { _data = data; //it should be okay to be static. }
public RandomGenerator() { _data = RandomHelpers.GetRandomDataClass; }