public GroupViewModel(EndPointListPage view, List <ListLableEndpointResponse> listEndpoints, List <int> eids) : this(view) { _listEndpoints = listEndpoints; _eids = eids; GetLabelData(); }
public GroupViewModel(EndPointListPage view, List <int> folderIds, List <int> endpointIds, string searchKey = "") : this(view) { _searchKey = searchKey; _selectedFolderIds = folderIds; _selectedEndpointIds = endpointIds; GetData(); }
public GroupViewModel(EndPointListPage view, int selectedNodeId, string searchKey = "") : this(view) { _selectedFolderIds = new List <int>(); _selectedEndpointIds = new List <int>(); _selectedFolderIds.Add(selectedNodeId); _searchKey = searchKey; GetData(); }
public GroupViewModel(EndPointListPage view) { EndPointList = new ObservableCollection <EndPoint>(); _view = view; //get init data ViewList = new ObservableCollection <EndPoint>(); ViewList = EndPointList; //set grid column width IdWidth = ApplicationContext.IDWidth; TypeWidth = ApplicationContext.TypeWidth; UserNameWidth = ApplicationContext.UserNameWidth; OSNameWidth = ApplicationContext.OSNameWidth; SystemNameWidth = ApplicationContext.SystemNameWidth; PowerStateWidth = ApplicationContext.PowerStateWidth; DomainWidth = ApplicationContext.DomainWidth; IPv4Width = ApplicationContext.IPv4Width; IPv6Width = ApplicationContext.IPv6Width; LastSyncWidth = ApplicationContext.LastSyncWidth; }