Ejemplo n.º 1
0
        public HubViewModel(ICommonBl bl)
        {
            _bl = bl;

            ReadConfigParameter();
            
            Sessions = new ObservableCollection<Session>();
            DownloadItems = new ObservableCollection<DownloadItemInfo>(); 
        }
Ejemplo n.º 2
0
        public HubViewModel(ICommonBl bl)
        {
            _bl = bl;

            ReadConfigParameter();

            Sessions      = new ObservableCollection <Session>();
            DownloadItems = new ObservableCollection <DownloadItemInfo>();
        }
Ejemplo n.º 3
0
        internal Video(ICommonBl bl, MainAdminViewModel mainAdminViewModel)
        {
            InitializeComponent();

            _bl = bl;
            _mainAdminViewModel = mainAdminViewModel;
            _viewModel = new VideoViewModel(_bl, _mainAdminViewModel);

            
            grdMain.DataContext = _viewModel;
        }
Ejemplo n.º 4
0
        internal Setting(ICommonBl bl, MainAdminViewModel mainAdminViewModel)
        {
            InitializeComponent();

            _bl = bl;
            _mainAdminViewModel = mainAdminViewModel;
            _viewModel          = new SettingViewModel(_bl, _mainAdminViewModel);


            grdMain.DataContext = _viewModel;
        }
Ejemplo n.º 5
0
        public Notification(ICommonBl bl, MainAdminViewModel mainAdminViewModel)
        {
            InitializeComponent();

            _bl = bl;
            _mainAdminViewModel = mainAdminViewModel;

            _viewModel = new NotificationViewModel(_bl, _mainAdminViewModel);
            App.AddViewModel("NotificationViewModel", _viewModel);

            grdMain.DataContext = _viewModel;
        }
Ejemplo n.º 6
0
        public Notification(ICommonBl bl, MainAdminViewModel mainAdminViewModel)
        {
            InitializeComponent();

            _bl = bl;
            _mainAdminViewModel = mainAdminViewModel;

            _viewModel = new NotificationViewModel(_bl, _mainAdminViewModel);
            App.AddViewModel("NotificationViewModel", _viewModel); 

            grdMain.DataContext = _viewModel;

        }
Ejemplo n.º 7
0
        /// <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);
        }
Ejemplo n.º 8
0
        /// <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;
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="bl"> Business Logic</param>
 /// <param name="mainAdminViewModel"></param>
 public NotificationViewModel(ICommonBl bl, MainAdminViewModel mainAdminViewModel)
 {
     _bl = bl;
     _mainAdminViewModel = mainAdminViewModel;
 }
Ejemplo n.º 11
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="bl"> Business Logic</param>
        /// <param name="mainAdminViewModel"></param>
        public SettingViewModel(ICommonBl bl, MainAdminViewModel mainAdminViewModel)
        {
            _bl = bl;
            _mainAdminViewModel = mainAdminViewModel;

        }
Ejemplo n.º 12
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="bl"> Business Logic</param>
 /// <param name="mainAdminViewModel"></param>
 public VideoViewModel(ICommonBl bl, MainAdminViewModel mainAdminViewModel)
 {
     _bl = bl;
     _mainAdminViewModel = mainAdminViewModel;
 }
Ejemplo n.º 13
0
 public SessionDetailViewModel(ICommonBl bl)
 {
     Bl = bl;
 }
Ejemplo n.º 14
0
 public NotificationViewModel(ICommonBl bl)
 {
     _Bl = bl;
 }
 public SessionDetailViewModel(ICommonBl bl)
 {
     Bl = bl; 
 }
Ejemplo n.º 16
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="bl"> Business Logic</param>
 /// <param name="mainAdminViewModel"></param>
 public VideoViewModel(ICommonBl bl, MainAdminViewModel mainAdminViewModel)
 {
     _bl = bl;
     _mainAdminViewModel = mainAdminViewModel;
 }
Ejemplo n.º 17
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="bl"> Business Logic</param>
 /// <param name="mainAdminViewModel"></param>
 public SettingViewModel(ICommonBl bl, MainAdminViewModel mainAdminViewModel)
 {
     _bl = bl;
     _mainAdminViewModel = mainAdminViewModel;
 }
 public NotificationViewModel(ICommonBl bl)
 {
     _Bl = bl;
 }