I have some questions about MVVM pattern

后端 未结 2 2059
广开言路
广开言路 2021-02-04 22:17

My name is Jesús from Spain, I\'m a .NET developer and I just discovered this great web few days ago.

I have some questions about the MVVM pattern and I will be glad if

2条回答
  •  醉话见心
    2021-02-04 22:52

    You don't actually have to use the RelayCommand. All you really need to do is implement the ICommand interface on an object. In the SoapBox Core framework I defined an interface called ICommandControl and all button ViewModels, etc. implement that. There's also an AbstractCommandControl class you can derive from to implement it.

提交回复
热议问题