示例#1
0
        protected override void Initialize(object navigationData)
        {
            base.Initialize(navigationData);
            var service = (IConfigurationService)GetService(typeof(IConfigurationService));

            pictureBox1.Image = service.Scope.GetImage();

            var extensions = new FileExtensionsFeature(Module);

            extensions.RequestFilteringSettingsUpdate = RefreshExtensions;
            extensions.Load();
            tpExtensions.Tag = extensions;
            RefreshExtensions();

            var rules = new FilteringRulesFeature(Module);

            rules.RequestFilteringSettingsUpdate = RefreshRules;
            rules.Load();
            tpRules.Tag = rules;

            var segments = new HiddenSegmentsFeature(Module);

            segments.RequestFilteringSettingsUpdate = RefreshSegments;
            segments.Load();
            tpSegments.Tag = segments;

            var urls = new UrlsFeature(Module);

            urls.RequestFilteringSettingsUpdate = RefreshUrls;
            urls.Load();
            tpUrl.Tag = urls;

            var verbs = new VerbsFeature(Module);

            verbs.RequestFilteringSettingsUpdate = RefreshVerbs;
            verbs.Load();
            tpVerbs.Tag = verbs;

            var headers = new HeadersFeature(Module);

            headers.RequestFilteringSettingsUpdate = RefreshHeaders;
            headers.Load();
            tpHeaders.Tag = headers;

            var queries = new QueryStringsFeature(Module);

            queries.RequestFilteringSettingsUpdate = RefreshQueries;
            queries.Load();
            tpQuery.Tag = queries;
        }
示例#2
0
 public FeatureTaskList(UrlsFeature owner)
 {
     _owner = owner;
 }