Код: Выделить всё
public List OperationModes { get; } = Enum.GetNames(typeof(EOperationMode)).ToList();
способ реактивного интерфейса | не работает
Код: Выделить всё
this.OneWayBind(ViewModel, model => model.OperationModes, window => window.ComboBoxOperationMode.ItemsSource).DisposeWith(r);

При использовании reactiveUI для привязки списка к ComboBox я получаю следующую ошибку в выводе консоли.. p>
вывод в консоль
Код: Выделить всё
DefaultViewLocator: Failed to resolve view for view model type 'System.Object'.
DefaultViewLocator: Failed to resolve view for view model type 'System.Object'.
ViewModelViewHost: The ViewModelViewHost could not find a valid view for the view model of type System.String and value Passthrough.
Код: Выделить всё

Как мне решить эту проблему? Или нельзя привязать список через reactiveUI?
Проблема с Github: https://github.com/reactiveui/ReactiveUI/issues/2008
Подробнее здесь: https://stackoverflow.com/questions/558 ... not-find-a
Мобильная версия