Te.StahpIt.ViewModels.DashboardViewModel.DashboardViewModel C# (CSharp) Method

DashboardViewModel() public method

Constructs a new DashboardViewModel instance.
/// In the event that the model parameter is null, will throw ArgumentException. ///
public DashboardViewModel ( DashboardModel model ) : ByteSizeLib
model Te.StahpIt.Models.DashboardModel /// The underlying DashboardModel from which to derive and modify state. ///
return ByteSizeLib
        public DashboardViewModel(DashboardModel model)
        {
            m_model = model;

            if (m_model == null)
            {
                throw new ArgumentException("Expected valid DashboardModel instance.");
            }

            FilteredApplications = new BindingList<FilteredAppViewModel>();
        }
    }
DashboardViewModel