コード例 #1
0
        public PathRepository(IPathFactory pathFactory, ITreeOfLifeSession session)
        {
            _session = session;

            _paths = new ReadOnlyCollection<Path>(new List<Path>
            {
                pathFactory.Create("Paths/1", 11, 1, 1, 2),
                pathFactory.Create("Paths/2", 12, 2, 1, 3),
                pathFactory.Create("Paths/3", 13, 3, 1, 6),
                pathFactory.Create("Paths/4", 14, 4, 2, 3),
                pathFactory.Create("Paths/5", 15, 5, 2, 6),
                pathFactory.Create("Paths/6", 16, 6, 2, 4),
                pathFactory.Create("Paths/7", 17, 7, 3, 6),
                pathFactory.Create("Paths/8", 18, 8, 3, 5),
                pathFactory.Create("Paths/9", 19, 9, 4, 5),
                pathFactory.Create("Paths/10", 20, 10, 4, 6),
                pathFactory.Create("Paths/11", 21, 11, 4, 7),
                pathFactory.Create("Paths/12", 22, 12, 5, 6),
                pathFactory.Create("Paths/13", 23, 13, 5, 8),
                pathFactory.Create("Paths/14", 24, 14, 6, 7),
                pathFactory.Create("Paths/15", 25, 15, 6, 9),
                pathFactory.Create("Paths/16", 26, 16, 6, 8),
                pathFactory.Create("Paths/17", 27, 17, 7, 8),
                pathFactory.Create("Paths/18", 28, 18, 7, 9),
                pathFactory.Create("Paths/19", 29, 19, 7, 10),
                pathFactory.Create("Paths/20", 30, 20, 8, 9),
                pathFactory.Create("Paths/21", 31, 21, 8, 10),
                pathFactory.Create("Paths/22", 32, 22, 9, 10)
            });
        }
コード例 #2
0
        public ElementRepository(IElementFactory elementFactory, ITreeOfLifeSession session)
        {
            _session = session;

            _elements = new ReadOnlyCollection<Element>(new List<Element>
            {
                elementFactory.Create("Elements/1", 11, "Air", "\U0001F701"),
                elementFactory.Create("Elements/2", 23, "Water", "\U0001F704"),
                elementFactory.Create("Elements/3", 31, "Fire", "\U0001F702"),
                elementFactory.Create("Elements/4", 33, "Earth", "\U0001F703"),
                elementFactory.Create("Elements/5", 34, "Spirit", "\U0001F700")
            });
        }
コード例 #3
0
        public PlanetRepository(IPlanetFactory planetFactory, ITreeOfLifeSession session)
        {
            _session = session;

            _planets = new ReadOnlyCollection<Planet>(new List<Planet>
            {
                planetFactory.Create("Planets/1", 12, "Mercury", '\u263F'),
                planetFactory.Create("Planets/2", 13, "Moon", '\u263E'),
                planetFactory.Create("Planets/3", 14, "Venus", '\u2640'),
                planetFactory.Create("Planets/4", 21, "Jupiter", '\u2643'),
                planetFactory.Create("Planets/5", 27, "Mars", '\u2642'),
                planetFactory.Create("Planets/6", 30, "Sun", '\u2609'),
                planetFactory.Create("Planets/7", 32, "Saturn", '\u2644')
            });
        }
コード例 #4
0
        public MetalRepository(IMetalFactory metalFactory, ITreeOfLifeSession session)
        {
            _session = session;

            _metals = new ReadOnlyCollection<Metal>(new List<Metal>
            {
                metalFactory.Create("Metals/1", 12, "Mercury"),
                metalFactory.Create("Metals/2", 13, "Silver"),
                metalFactory.Create("Metals/3", 14, "Copper"),
                metalFactory.Create("Metals/4", 21, "Tin"),
                metalFactory.Create("Metals/5", 27, "Iron"),
                metalFactory.Create("Metals/6", 30, "Gold"),
                metalFactory.Create("Metals/7", 32, "Lead")
            });
        }
コード例 #5
0
        public SephiraRepository(ISephiraFactory sephiraFactory, ITreeOfLifeSession session)
        {
            _session = session;

            _sephiroth = new ReadOnlyCollection<Sephira>(new List<Sephira>
            {
                sephiraFactory.Create("Sephiroth/1", 1, 1, "Kether", "Crown"),
                sephiraFactory.Create("Sephiroth/2", 2, 2, "Chokmah", "Wisdom"),
                sephiraFactory.Create("Sephiroth/3", 3, 3, "Binah", "Understanding"),
                sephiraFactory.Create("Sephiroth/4", 4, 4, "Chesed", "Mercy"),
                sephiraFactory.Create("Sephiroth/5", 5, 5, "Geburah", "Strength"),
                sephiraFactory.Create("Sephiroth/6", 6, 6, "Tiphareth", "Beauty"),
                sephiraFactory.Create("Sephiroth/7", 7, 7, "Netzach", "Victory"),
                sephiraFactory.Create("Sephiroth/8", 8, 8, "Hod", "Splendour"),
                sephiraFactory.Create("Sephiroth/9", 9, 9, "Yesod", "Foundation"),
                sephiraFactory.Create("Sephiroth/10", 10, 10, "Malkuth", "Kingdom")
            });
        }
コード例 #6
0
        public ZodiacSignRepository(IZodiacSignFactory zodiacSignFactory, ITreeOfLifeSession session)
        {
            _session = session;

            _zodiacSigns = new ReadOnlyCollection<ZodiacSign>(new List<ZodiacSign>
            {
                zodiacSignFactory.Create("ZodiacSigns/1", 15, "Aries", '\u2648'),
                zodiacSignFactory.Create("ZodiacSigns/2", 16, "Taurus", '\u2649'),
                zodiacSignFactory.Create("ZodiacSigns/3", 17, "Gemini", '\u264A'),
                zodiacSignFactory.Create("ZodiacSigns/4", 18, "Cancer", '\u264B'),
                zodiacSignFactory.Create("ZodiacSigns/5", 19, "Leo", '\u264C'),
                zodiacSignFactory.Create("ZodiacSigns/6", 20, "Virgo", '\u264D'),
                zodiacSignFactory.Create("ZodiacSigns/7", 22, "Leo", '\u264E'),
                zodiacSignFactory.Create("ZodiacSigns/8", 24, "Scorpio", '\u264F'),
                zodiacSignFactory.Create("ZodiacSigns/9", 25, "Sagittarius", '\u2650'),
                zodiacSignFactory.Create("ZodiacSigns/10", 26, "Capricorn", '\u2651'),
                zodiacSignFactory.Create("ZodiacSigns/11", 28, "Aquarius", '\u2652'),
                zodiacSignFactory.Create("ZodiacSigns/12", 29, "Pisces", '\u2653')
            });
        }