public GalaxyGenerator(IPersonCache personCache, IProfessionCache professionCache, Random random)
        {
            _personCache = personCache;
            _professionCache = professionCache;
            _random = random;

            var assembly = Assembly.GetExecutingAssembly();
            using (
                var reader = new StreamReader(assembly.GetManifestResourceStream("WorldSimulation.Data.PlanetNames.txt"))
                )
            {
                _planetNames = reader.ReadToEnd()
                    .Split(new[] {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries);
            }
            using (
                var reader =
                    new StreamReader(assembly.GetManifestResourceStream("WorldSimulation.Data.CountryNames.txt")))
            {
                _countryNames = reader.ReadToEnd()
                    .Split(new[] {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries);
            }
            using (
                var reader =
                    new StreamReader(assembly.GetManifestResourceStream("WorldSimulation.Data.StationNames.txt")))
            {
                _stationNames = reader.ReadToEnd()
                    .Split(new[] {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries);
            }
        }
 public Territory(IProfessionCache professionCache,
     IPersonCache personCache,
     Territory parent = null)
 {
     _professionCache = professionCache;
     _personCache = personCache;
     _parent = parent;
 }
 public OrganizationGenerator(ProfessionGenerator professionGenerator,
     IProfessionCache professionCache)
 {
     _professionGenerator = professionGenerator;
     _professionCache = professionCache;
 }