internal FleetAnchorageRepairViewModel(FleetAnchorageRepair rpSource) { r_Source = rpSource; Observable.FromEventPattern<PropertyChangedEventArgs>(r_Source, nameof(r_Source.PropertyChanged)) .Select(r => r.EventArgs.PropertyName).Subscribe(OnPropertyChanged); }
internal Fleet(Port rpPort, RawFleet rpRawData) : base(rpRawData) { Port = rpPort; Status = new FleetStatus(this); Resupply = new FleetResupplyInfo(this); ExpeditionStatus = new FleetExpeditionStatus(this); ConditionRegeneration = new FleetConditionRegeneration(this); AnchorageRepair = new FleetAnchorageRepair(this); OnRawDataUpdated(); }