public KitSelectionPage( Func<KitsList> listAvailableKits, Func<List<ImportedKit>> listImportedKits, Action<KitsObject, ImportedKit, bool> onKitSelected, Action checkKitActivation, Action onBackClicked, CheckUpdateAvailable isUpdateAvailable, Action showUpdatePage ) { this.listImportedKits = listImportedKits; this.listAvailableKits = listAvailableKits; this.onKitSelected = onKitSelected; this.checkKitActivation = checkKitActivation; this.back = new KeyValuePair<string, Action> ("Back", onBackClicked); this.viewUpdateClickHandler = new KeyValuePair<string, Action> ("View Update", showUpdatePage); this.isUpdateAvailable = isUpdateAvailable; }
public KitSelectionPage( Func <KitsList> listAvailableKits, Func <List <ImportedKit> > listImportedKits, Action <KitsObject, ImportedKit, bool> onKitSelected, Action checkKitActivation, Action onBackClicked, CheckUpdateAvailable isUpdateAvailable, Action showUpdatePage ) { this.listImportedKits = listImportedKits; this.listAvailableKits = listAvailableKits; this.onKitSelected = onKitSelected; this.checkKitActivation = checkKitActivation; this.back = new KeyValuePair <string, Action> ("Back", onBackClicked); this.viewUpdateClickHandler = new KeyValuePair <string, Action> ("View Update", showUpdatePage); this.isUpdateAvailable = isUpdateAvailable; }
public KitSelectionPage( Func<KitsList> listAvailableKits, Func<List<ImportedKit>> listImportedKits, Func<KitsObject, ImportedKit, KeyValuePair<DisplayedKitStatus, Version>> displayedKitStatusAndVersion, Action<KitsObject, ImportedKit, DisplayedKitStatus> onKitSelected, Action onBackClicked, CheckUpdateAvailable isUpdateAvailable, Action showUpdatePage ) { this.listImportedKits = listImportedKits; this.listAvailableKits = listAvailableKits; this.displayedKitStatusAndVersion = displayedKitStatusAndVersion; this.onKitSelected = onKitSelected; this.back = new KeyValuePair<string, Action> ("Back", onBackClicked); this.viewUpdateClickHandler = new KeyValuePair<string, Action> ("View Update", showUpdatePage); this.isUpdateAvailable = isUpdateAvailable; Update.PeriodicPinger.Enqueue (new Analytics.Events.PageViewEvent { ScreenName = "KitSelectionPage", }); }
public KitSelectionPage( Func <KitsList> listAvailableKits, Func <List <ImportedKit> > listImportedKits, Func <KitsObject, ImportedKit, KeyValuePair <DisplayedKitStatus, Version> > displayedKitStatusAndVersion, Action <KitsObject, ImportedKit, DisplayedKitStatus> onKitSelected, Action onBackClicked, CheckUpdateAvailable isUpdateAvailable, Action showUpdatePage ) { this.listImportedKits = listImportedKits; this.listAvailableKits = listAvailableKits; this.displayedKitStatusAndVersion = displayedKitStatusAndVersion; this.onKitSelected = onKitSelected; this.back = new KeyValuePair <string, Action> ("Back", onBackClicked); this.viewUpdateClickHandler = new KeyValuePair <string, Action> ("View Update", showUpdatePage); this.isUpdateAvailable = isUpdateAvailable; Update.PeriodicPinger.Enqueue(new Analytics.Events.PageViewEvent { ScreenName = "KitSelectionPage", }); }