Esempio n. 1
0
        public Work()
        {
            _split_options = new List <RightSplitOption>();
            RightSplitOption rso = new RightSplitOption();


            //Creating +2WL split option
            TIS tis = new TIS();

            tis.TISN      = 2136;
            tis.ShortCode = "2WL";

            tis.Inluded = true;
            rso.addTIS(tis);
            _split_options.Add(rso);
        }
Esempio n. 2
0
        public void addShareholderList(Shareholder sh, List <TIS> tisList, CISTables validator)
        {
            RightSplitOption validSplitOption = SplitOptions.Find(o => validator.TISValidList(o.Territories, tisList) && validator.TISValidList(tisList, o.Territories));


            if (validSplitOption != null)
            {
                validSplitOption.addShareholder(sh);
            }
            else
            {
                RightSplitOption commonTis          = new RightSplitOption();
                RightSplitOption notCommonBase      = new RightSplitOption();
                RightSplitOption notCommonInclusion = new RightSplitOption();


                //Console.WriteLine("Error");
            }
        }
Esempio n. 3
0
 public void addSplitOption(RightSplitOption rso)
 {
     _split_options.Add(rso);
 }