public SelectWebHooksWizardPage(ConnectedServiceProviderContext context,
            ConnectedServiceInstance instance)
        {
            // set up the configuration dialog
            Title = Resources.SelectWebHooksPageTitle;
            Description = Resources.SelectWebHooksPageDescription;
            Legend = Resources.SelectWebHooksPageLegend;
            SelectWebHooksLabel = Resources.SelectWebHooksPageDescription;
            Context = context;
            Instance = instance;

            WebHookReceiverOptions = new ObservableCollection<WebHookReceiverOption>();

            // load up the view
            View = new Views.SelectWebHooksWizardPageView
            {
                DataContext = this
            };

            // handle properties changing and user input
            WebHookReceiverOptions.CollectionChanged += WebHookReceiverOptions_CollectionChanged;

            // load the receiver options from the JSON file
            LoadReceiverOptions();
        }
        public SelectWebHooksWizardPage(ConnectedServiceProviderContext context,
                                        ConnectedServiceInstance instance)
        {
            // set up the configuration dialog
            Title               = Resources.SelectWebHooksPageTitle;
            Description         = Resources.SelectWebHooksPageDescription;
            Legend              = Resources.SelectWebHooksPageLegend;
            SelectWebHooksLabel = Resources.SelectWebHooksPageDescription;
            Context             = context;
            Instance            = instance;

            WebHookReceiverOptions = new ObservableCollection <WebHookReceiverOption>();

            // load up the view
            View = new Views.SelectWebHooksWizardPageView
            {
                DataContext = this
            };

            // handle properties changing and user input
            WebHookReceiverOptions.CollectionChanged += WebHookReceiverOptions_CollectionChanged;

            // load the receiver options from the JSON file
            LoadReceiverOptions();
        }