Exemple #1
0
        public virtual void RetainSeatEventsThenAddBackOthers()
        {
            _fetchTermSetCache = null;
            if (_mixed != null)
            {
                var occupations = _mixed.OfType <SeatArrangement>().ToArray();
                if (occupations.Length > 0)
                {
                    _mixed = new TermSet <Occupation>(_occupationSet);
                    foreach (var item in occupations)
                    {
                        _mixed.Add(item);
                    }
                    return;
                }
            }

            _mixed = new TermSet <Occupation>(_occupationSet);
        }
Exemple #2
0
 public virtual void Initial()
 {
     _mixed = new TermSet <Occupation>(_occupationSet);
 }