コード例 #1
0
        public MotorbikeViewModel(IMotorbike motorbike, string guid, IBLC blc, IDialogService dialogService)
        {
            PropertyChanged += Motorbike_PropertyChanged;
            _motorbike       = motorbike;
            _guid            = guid;
            _blc             = blc;
            _dialogService   = dialogService;
            Initialize();

            _selectedProducer = Producers.FirstOrDefault();
        }