예제 #1
0
        public DeviceSelector(IDependencyInjection di)
        {
            var vm = di.Resolve <DeviceSelectorViewModel>();

            DataContext = vm;
            this.InitializeComponent();
            vm.Refresh();
#if DEBUG
            this.AttachDevTools();
#endif
        }
 public static T Resolve <T>()
 {
     return(_dependencyInjection.Resolve <T>());
 }