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

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

            var ip = new IpMappingFeature(Module);

            ip.HttpApiSettingsUpdate = RefreshIp;
            ip.Load();
            tpIP.Tag = ip;
            RefreshIp();

            var sni = new SniMappingFeature(Module);

            sni.HttpApiSettingsUpdate = RefreshSni;
            sni.Load();
            tpSNI.Tag = sni;

            var url = new ReservedUrlsFeature(Module);

            url.HttpApiSettingsUpdate = RefreshUrl;
            url.Load();
            tpURL.Tag = url;
        }
Esempio n. 2
0
 public SniMappingItem(string host, string port, string appId, string hash, string store, SniMappingFeature feature)
 {
     Host    = host;
     Port    = port;
     AppId   = appId;
     Hash    = hash;
     Store   = store;
     Feature = feature;
 }
Esempio n. 3
0
 public FeatureTaskList(SniMappingFeature owner)
 {
     _owner = owner;
 }
 public SniMappingItem(string host, string port, string appId, string hash, string store, SniMappingFeature feature)
 {
     this.Host    = host;
     this.Port    = port;
     this.AppId   = appId;
     this.Hash    = hash;
     this.Store   = store;
     this.Feature = feature;
 }