コード例 #1
0
 public PersonContract(int contracrNum, PersonSubscriber client, ITariffPlan plan, List <int> phoneNums)
 {
     Subscriber = client;
     PhoneNumbers.AddRange(phoneNums);
     Plan.Add(DateTime.Today, plan);
 }
コード例 #2
0
 public PersonContract(int contracrNum, PersonSubscriber client, TariffPlan plan, int phoneNum)
 {
     Subscriber  = client;
     PhoneNumber = phoneNum;
     Plan.Add(DateTime.Today, plan);
 }