示例#1
0
        public ViewModelWindowTradingStationUser(ObjectTradingStationPublicState publicState)
        {
            this.publicState = publicState;

            this.lots = publicState.Lots.Select(l => new ViewModelTradingStationLot(l))
                        .ToList();

            publicState.ClientSubscribe(_ => _.Mode,
                                        _ => this.NotifyPropertyChanged(nameof(this.IsStationSellingMode)),
                                        this);
        }