Пример #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;
        }
Пример #2
0
 public IpMappingItem(string address, string port, string appId, string hash, string store, IpMappingFeature feature)
 {
     Address = address;
     Port    = port;
     AppId   = appId;
     Hash    = hash;
     Store   = store;
     Feature = feature;
 }
Пример #3
0
 public FeatureTaskList(IpMappingFeature owner)
 {
     _owner = owner;
 }
 public IpMappingItem(string address, string port, string appId, string hash, string store, IpMappingFeature feature)
 {
     this.Address = address;
     this.Port    = port;
     this.AppId   = appId;
     this.Hash    = hash;
     this.Store   = store;
     this.Feature = feature;
 }