コード例 #1
0
ファイル: DV110.cs プロジェクト: KonstantinDavidov/mytestRep
 public DV110(IDV110 order) : base(order)
 {
     ConductChoiceState = order.ConductChoiceState;
     ConductChoice = new DVConductChoice(order.ConductChoice);
     StayAwayOrdersState = order.StayAwayOrdersState;
     StayAwayOrders = new DVStayAwayOrders(order.StayAwayOrders);
     MoveoutState = order.MoveoutState;
     MoveoutAddress = order.MoveoutAddress;
     RecordUnlawfulCommunicationsAllowedState = order.RecordUnlawfulCommunicationsAllowedState;
     AnimalsSectionState = order.AnimalsSectionState;
     AnimalsSection = new DVAnimals(order.AnimalsSection);
     IsNoGuns = order.IsNoGuns;
     OtherOrdersState = order.OtherOrdersState;
     OtherOrdersDescription = order.OtherOrdersDescription;
     IsOterordersAttached = order.IsOterordersAttached;
     PropertyControlState = order.PropertyControlState;
     PropertyControlItems =
         new ObservableCollection<IDataItem>(order.PropertyControlItems.Select(i => new DataItem(i)));
     DebtPaymentState = order.DebtPaymentState;
     DebtPaymentItems =
         new ObservableCollection<IDebtPaymentItem>(order.DebtPaymentItems.Select(i => new DebtPaymentItem(i)));
     DVPropertyRestraintState = order.DVPropertyRestraintState;
     PropertyRestraint = new DVPropertyRestraint(order.PropertyRestraint);
     ChildCustodyAndVisitationState = order.ChildCustodyAndVisitationState;
     OrdersType = CourtOrdersTypes.DV110;
 }
コード例 #2
0
ファイル: DV130.cs プロジェクト: KonstantinDavidov/mytestRep
 public DV130(IDV130 order)
     : base(order)
 {
     IsConductChoiceEnabled = order.IsConductChoiceEnabled;
     ConductChoice = new DVConductChoice(order.ConductChoice);
     IsStayAwayOrdersEnabled = order.IsStayAwayOrdersEnabled;
     StayAwayOrders = new DVStayAwayOrders(order.StayAwayOrders);
     IsPOSProvidedToCourt = order.IsPOSProvidedToCourt;
     IsMoveoutEnabled = order.IsMoveoutEnabled;
     MoveoutAddress = order.MoveoutAddress;
     IsRecordUnlawfulCommunicationsAllowed = order.IsRecordUnlawfulCommunicationsAllowed;
     IsAnimalsEnabled = order.IsAnimalsEnabled;
     Animals = new DVAnimals(order.Animals);
     OtherOrders = new OtherOrders(order.OtherOrders);
     IsBattererIntervention = order.IsBattererIntervention;
     IsNoGuns = order.IsNoGuns;
     IsPropertyControlEnabled = order.IsPropertyControlEnabled;
     PropertyControlItems =
         new ObservableCollection<IDataItem>(order.PropertyControlItems.Select(x => new DataItem(x)));
     IsDebtPaymentEnabled = order.IsDebtPaymentEnabled;
     DebtPaymentItems =
         new ObservableCollection<IDebtPaymentItem>(order.DebtPaymentItems.Select(x => new DebtPaymentItem(x)));
     IsPropertyRestraintEnabled = order.IsPropertyRestraintEnabled;
     PropertyRestraint = new DVPropertyRestraint(order.PropertyRestraint);
     Costs = new ObservableCollection<IPaymentItem>(order.Costs.Select(x => new PaymentItem(x)));
     IsChildCustodyAndVisitationEnabled = order.IsChildCustodyAndVisitationEnabled;
     OrdersType = CourtOrdersTypes.DV130;
 }
コード例 #3
0
ファイル: DV110.cs プロジェクト: KonstantinDavidov/mytestRep
 public DV110()
 {
     ConductChoice = new DVConductChoice();
     StayAwayOrders = new DVStayAwayOrders();
     AnimalsSection = new DVAnimals();
     PropertyControlItems = new ObservableCollection<IDataItem>();
     DebtPaymentItems = new ObservableCollection<IDebtPaymentItem>();
     PropertyRestraint = new DVPropertyRestraint();
     OrdersType = CourtOrdersTypes.DV110;
 }