Beispiel #1
0
        public static GeneralSide NewGenSide(Person p, Discussion d, int side)
        {
            var res = new GeneralSide();

            res.Person     = p;
            res.Discussion = d;
            res.Side       = side;
            return(res);
        }
Beispiel #2
0
        private static GeneralSide CreateGeneralSide(Person p, Discussion d, int side)
        {
            var genSide = new GeneralSide();

            genSide.Side       = (int)SideCode.Neutral;
            genSide.Discussion = d;
            genSide.Person     = p;
            return(genSide);
        }