Ejemplo n.º 1
0
 public ProcessData()
 {
     _randomDataParameters = (RandomDataParameters)App.Current.Properties[Convert.ToString(App.ObjectsInPropertyDictionary.RandomDataParameters)];
     _rawData = RandomTextIO.ReadTextData();
     SeparateSegments();
     SetListOfCommandStrings();
     ProcessDataString();
     AddReadDataToRandomDataStatsList();
     AddReadDataToDB();
 }
Ejemplo n.º 2
0
 public RandomTextGenerator(bool isFirstWrite = true)
 {
     _currentRandomDataParameters = (RandomDataParameters)App.Current.Properties[Convert.ToString(App.ObjectsInPropertyDictionary.RandomDataParameters)];
     _randomDataStatsList         = (List <RandomDataStats>)App.Current.Properties[Convert.ToString(App.ObjectsInPropertyDictionary.RandomDataStats)];
     SetListOfAllUniqueTextParametersAndCommandStrings();
     ScrubDelimitersAndCommandParameters();
     SetListOfRandomDataStats();
     GenerateRandomTextString();
     CombineSegments();
     WriteRandomStatsToDB();
     RandomTextIO.WriteTextData(_dataToWrite, isFirstWrite);
 }