Ejemplo n.º 1
0
        public void Drive(int value)
        {
            InitAutofac.InitAutofacs();
            ICar car = InitAutofac.GetFromFac <ICar>();

            car.Engine(value);
            car.Run();
        }
 private void ExcuteSendCommand(TreeNode NodeName)
 {
     if (NodeName.ParentID != 0)
     {
         SelectedView = InitAutofac.GetFromFac <UserControl>(NodeName.NodeName);
         this.RaisePropertyChanged(nameof(SelectedView));
     }
 }