public ViewModelA(IViewModelB b) { B = b; }
public MainViewModel(IViewModelA viewModelA, IViewModelB viewModelB) { ViewModelA = viewModelA; ViewModelB = viewModelB; }
public ViewModelA(IViewModelB b) { B = b; }
public MainViewModel(IViewModelA viewModelA, IViewModelB viewModelB) { ViewModelA = viewModelA; ViewModelB = viewModelB; }