示例#1
0
 public Rezerwacja(IDaneKlienta daneKlienta, ISeans seans, int miejsce, float kwota, bool status)
 {
     Imie     = daneKlienta.DaneOsobowe.Imie;
     Nazwisko = daneKlienta.DaneOsobowe.Nazwisko;
     Pozycja  = new Miejsce(miejsce, true);
     Seans    = seans;
     Kwota    = kwota;
     Status   = status;
 }
示例#2
0
文件: Sala.cs 项目: jkszu/KinoImip
        public Sala(int maxMiejsc)
        {
            for (var i = 0; i < maxMiejsc; i++)
            {
                var noweMiejsce = new Miejsce(i, false);
                Miejsca.Add(noweMiejsce);
            }

            Sale.Instance.sale.Add(this);
            var iloscSal = Sale.Instance.sale.Count();

            Numer = iloscSal;
        }
示例#3
0
文件: Bilet.cs 项目: jkszu/KinoImip
 public Bilet(ISeans seans, int miejsce)
 {
     Seans   = seans;
     Miejsce = new Miejsce(miejsce, true);
 }