public YupRepository(IYupSettings yupSettings, IEventBus eventBus) { _yupSettings = yupSettings; _eventBus = eventBus; this.LoadRepository(); }
public MainWindowViewModel() { _yupSettings = ContainerHelper.GetService <IYupSettings>();; _YuipsViewModel = ContainerHelper.GetService <YupisViewModel>(); _VideosViewModel = ContainerHelper.GetService <VideosViewModel>(); _ChannelsViewModel = ContainerHelper.GetService <ChannelsViewModel>(); _PlayerViewModel = ContainerHelper.GetService <PlayerViewModel>(); //_DashboardViewModel = ContainerHelper.GetService<DashboardViewModel>(); }