public HubViewModel(ICommonBl bl) { _bl = bl; ReadConfigParameter(); Sessions = new ObservableCollection<Session>(); DownloadItems = new ObservableCollection<DownloadItemInfo>(); }
public HubViewModel(ICommonBl bl) { _bl = bl; ReadConfigParameter(); Sessions = new ObservableCollection <Session>(); DownloadItems = new ObservableCollection <DownloadItemInfo>(); }
internal Video(ICommonBl bl, MainAdminViewModel mainAdminViewModel) { InitializeComponent(); _bl = bl; _mainAdminViewModel = mainAdminViewModel; _viewModel = new VideoViewModel(_bl, _mainAdminViewModel); grdMain.DataContext = _viewModel; }
internal Setting(ICommonBl bl, MainAdminViewModel mainAdminViewModel) { InitializeComponent(); _bl = bl; _mainAdminViewModel = mainAdminViewModel; _viewModel = new SettingViewModel(_bl, _mainAdminViewModel); grdMain.DataContext = _viewModel; }
public Notification(ICommonBl bl, MainAdminViewModel mainAdminViewModel) { InitializeComponent(); _bl = bl; _mainAdminViewModel = mainAdminViewModel; _viewModel = new NotificationViewModel(_bl, _mainAdminViewModel); App.AddViewModel("NotificationViewModel", _viewModel); grdMain.DataContext = _viewModel; }
/// <summary> /// Constructor /// </summary> /// <param name="bl"></param> public MainAdminViewModel(ICommonBl bl) { _bl = bl; InitNotificationType(); InitNotificationTag(); LoadExistingNotificationTag(); //Command Notification _sendNotification = new Command(DoSendNotification); //Command Setting _saveSetting = new Command(DoSaveSetting); }
/// <summary> /// Constructor /// </summary> /// <param name="bl"> Business Logic</param> /// <param name="mainAdminViewModel"></param> public NotificationViewModel(ICommonBl bl, MainAdminViewModel mainAdminViewModel) { _bl = bl; _mainAdminViewModel = mainAdminViewModel; }
/// <summary> /// Constructor /// </summary> /// <param name="bl"> Business Logic</param> /// <param name="mainAdminViewModel"></param> public SettingViewModel(ICommonBl bl, MainAdminViewModel mainAdminViewModel) { _bl = bl; _mainAdminViewModel = mainAdminViewModel; }
/// <summary> /// Constructor /// </summary> /// <param name="bl"> Business Logic</param> /// <param name="mainAdminViewModel"></param> public VideoViewModel(ICommonBl bl, MainAdminViewModel mainAdminViewModel) { _bl = bl; _mainAdminViewModel = mainAdminViewModel; }
public SessionDetailViewModel(ICommonBl bl) { Bl = bl; }
public NotificationViewModel(ICommonBl bl) { _Bl = bl; }