@@ -205,6 +205,12 @@ namespace TestStack.Dossier.DataSources
205205namespace TestStack.Dossier.DataSources.Dictionaries
206206{
207207
208+ [System.ObsoleteAttribute("FileDictionarySource is deprecated, please use Words(FromDictionary) instead.")]
209+ public abstract class FileDictionarySource : TestStack.Dossier.DataSources.DataSource<string>
210+ {
211+ protected FileDictionarySource() { }
212+ protected override System.Collections.Generic.IList<string> InitializeDataSource() { }
213+ }
208214 public class FromDictionary
209215 {
210216 public const string AddressAusCity = "AddressAusCity";
@@ -306,6 +312,121 @@ namespace TestStack.Dossier.DataSources.Generators
306312 public int Generate() { }
307313 }
308314}
315+ namespace TestStack.Dossier.DataSources.Geography
316+ {
317+
318+ [System.ObsoleteAttribute("GeoContinentSource is deprecated, please use Words(FromDictionary.GeoContinent) i" +
319+ "nstead.")]
320+ public class GeoContinentSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
321+ {
322+ public GeoContinentSource() { }
323+ }
324+ [System.ObsoleteAttribute("GeoCountryCodeSource is deprecated, please use Words(FromDictionary.GeoCountryCod" +
325+ "e) instead.")]
326+ public class GeoCountryCodeSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
327+ {
328+ public GeoCountryCodeSource() { }
329+ }
330+ [System.ObsoleteAttribute("GeoCountrySource is deprecated, please use Words(FromDictionary.GeoCountry) inste" +
331+ "ad.")]
332+ public class GeoCountrySource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
333+ {
334+ public GeoCountrySource() { }
335+ }
336+ [System.ObsoleteAttribute("GeoLatitudeSource is deprecated, please use Words(FromDictionary.GeoLatitude) ins" +
337+ "tead.")]
338+ public class GeoLatitudeSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
339+ {
340+ public GeoLatitudeSource() { }
341+ }
342+ [System.ObsoleteAttribute("GeoLongitudeSource is deprecated, please use Words(FromDictionary.GeoLongitude) i" +
343+ "nstead.")]
344+ public class GeoLongitudeSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
345+ {
346+ public GeoLongitudeSource() { }
347+ }
348+ }
349+ namespace TestStack.Dossier.DataSources.Person
350+ {
351+
352+ [System.ObsoleteAttribute("PersonEmailAddressSource is deprecated, please use Words(FromDictionary.PersonEma" +
353+ "ilAddress) instead.")]
354+ public class PersonEmailAddressSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
355+ {
356+ public PersonEmailAddressSource() { }
357+ public PersonEmailAddressSource(TestStack.Dossier.DataSources.Generators.IGenerator generator) { }
358+ }
359+ [System.ObsoleteAttribute("PersonLanguageSource is deprecated, please use Words(FromDictionary.PersonLanguag" +
360+ "e) instead.")]
361+ public class PersonLanguageSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
362+ {
363+ public PersonLanguageSource() { }
364+ }
365+ [System.ObsoleteAttribute("PersonNameFirstFemaleSource is deprecated, please use Words(FromDictionary.Person" +
366+ "NameFirstFemale) instead.")]
367+ public class PersonNameFirstFemaleSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
368+ {
369+ public PersonNameFirstFemaleSource() { }
370+ }
371+ [System.ObsoleteAttribute("PersonNameFirstMaleSource is deprecated, please use Words(FromDictionary.PersonNa" +
372+ "meFirstMale) instead.")]
373+ public class PersonNameFirstMaleSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
374+ {
375+ public PersonNameFirstMaleSource() { }
376+ }
377+ [System.ObsoleteAttribute("PersonNameFirstSource is deprecated, please use Words(FromDictionary.PersonNameFi" +
378+ "rst) instead.")]
379+ public class PersonNameFirstSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
380+ {
381+ public PersonNameFirstSource() { }
382+ }
383+ [System.ObsoleteAttribute("PersonNameFullSource is deprecated, please use Words(FromDictionary.PersonNameFul" +
384+ "l) instead.")]
385+ public class PersonNameFullSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
386+ {
387+ public PersonNameFullSource() { }
388+ }
389+ [System.ObsoleteAttribute("PersonNameLastSource is deprecated, please use Words(FromDictionary.PersonNameLas" +
390+ "t) instead.")]
391+ public class PersonNameLastSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
392+ {
393+ public PersonNameLastSource() { }
394+ }
395+ [System.ObsoleteAttribute("PersonNameSuffixSource is deprecated, please use Words(FromDictionary.PersonNameS" +
396+ "uffix) instead.")]
397+ public class PersonNameSuffixSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
398+ {
399+ public PersonNameSuffixSource() { }
400+ }
401+ [System.ObsoleteAttribute("PersonNameTitleSource is deprecated, please use Words(FromDictionary.PersonNameTi" +
402+ "tle) instead.")]
403+ public class PersonNameTitleSource : TestStack.Dossier.DataSources.Dictionaries.FileDictionarySource
404+ {
405+ public PersonNameTitleSource() { }
406+ }
407+ }
408+ namespace TestStack.Dossier.DataSources.Picking
409+ {
410+
411+ public class Pick
412+ {
413+ public Pick() { }
414+ public static TestStack.Dossier.DataSources.Picking.RandomItemSource<T> RandomItemFrom<T>(System.Collections.Generic.IList<T> list) { }
415+ public static TestStack.Dossier.DataSources.Picking.RepeatingSequenceSource<T> RepeatingSequenceFrom<T>(System.Collections.Generic.IList<T> list) { }
416+ }
417+ public class RandomItemSource<T> : TestStack.Dossier.DataSources.DataSource<T>
418+
419+ {
420+ public RandomItemSource(System.Collections.Generic.IList<T> list) { }
421+ protected override System.Collections.Generic.IList<T> InitializeDataSource() { }
422+ }
423+ public class RepeatingSequenceSource<T> : TestStack.Dossier.DataSources.DataSource<T>
424+
425+ {
426+ public RepeatingSequenceSource(System.Collections.Generic.IList<T> list) { }
427+ protected override System.Collections.Generic.IList<T> InitializeDataSource() { }
428+ }
429+ }
309430namespace TestStack.Dossier.EquivalenceClasses
310431{
311432
0 commit comments