public void SetProvider(IInstrumentProvider provider)
        {
            this.ElZM5QiWFt              = provider;
            provider.SecurityDefinition += new SecurityDefinitionEventHandler(this.tXkMObNhAo);
            SecurityDefinitionListForm definitionListForm = this;
            string str = definitionListForm.Text + RNaihRhYEl0wUmAftnB.aYu7exFQKN(32650) + provider.Name;

            definitionListForm.Text = str;
        }
Ejemplo n.º 2
0
 public void Init(IInstrumentProvider provider, FIXSecurityDefinition[] securityDefinitions)
 {
     this.provider            = provider;
     this.securityDefinitions = securityDefinitions;
     this.numSuccessfully     = 0;
     this.numSkipped          = 0;
     this.UpdateProgress();
     this.btnClose.Visible = false;
 }
Ejemplo n.º 3
0
        public ImportInstrumentWidget(string providerName)
        {
            this.Build();
            var f = Framework.Current;

            this.provider = f.ProviderManager.GetProvider(providerName) as IInstrumentProvider;

            f.EventManager.Dispatcher.InstrumentDefinition    += new InstrumentDefinitionEventHandler(this.OnInstrumentDefinition);
            f.EventManager.Dispatcher.InstrumentDefinitionEnd += new InstrumentDefinitionEndEventHandler(this.OnInstrumentDefinitionEnd);
        }
Ejemplo n.º 4
0
 internal static bool Verify(IEnumerable <Tuple <CompoundIdentity, string, string> > items, BundleDataType type, UserSecurityContext ctx)
 {
     if (type == BundleDataType.TaxaUnit)
     {
         ITaxaUnitProvider tprov = TaxonomyManager.Instance.GetTaxaUnitProvider(ctx);
         if (tprov != null)
         {
             foreach (Tuple <CompoundIdentity, string, string> cur in items)
             {
                 if (!tprov.Exists(cur.Item1))
                 {
                     return(false);
                 }
             }
             return(true);
         }
     }
     else if (type == BundleDataType.Site)
     {
         ISiteProvider sprov = SiteManager.Instance.GetSiteProvider(ctx);
         if (sprov != null)
         {
             foreach (Tuple <CompoundIdentity, string, string> cur in items)
             {
                 if (!sprov.Exists(cur.Item1))
                 {
                     return(false);
                 }
             }
             return(true);
         }
     }
     else if (type == BundleDataType.Instrument)
     {
         IInstrumentProvider iprov = InstrumentManager.Instance.GetInstrumentProvider(ctx);
         if (iprov != null)
         {
             foreach (Tuple <CompoundIdentity, string, string> cur in items)
             {
                 if (!iprov.Exists(cur.Item1))
                 {
                     return(false);
                 }
             }
             return(true);
         }
     }
     return(false);
 }
Ejemplo n.º 5
0
 public SecurityDefinitionListForm()
 {
   eX4XcIhHpDXt70u2x3N.k8isAcYzkUOGF();
   this.jrLMCKlI4f = -1;
   this.vgmM2PPFGO = SortOrder.Ascending;
   // ISSUE: explicit constructor call
   base.\u002Ector();
   this.WlUM34Ql6m();
   this.ElZM5QiWFt = (IInstrumentProvider) null;
   this.YqjMvRa8WX.BeginUpdate();
   this.YqjMvRa8WX.Items.Clear();
   foreach (string str in this.gPmM8MoN0I())
     this.YqjMvRa8WX.Items.Add((object) new xtIARG15FVeBWx5vnA(str));
   this.YqjMvRa8WX.SelectedIndex = 0;
   this.YqjMvRa8WX.EndUpdate();
 }
 public SecurityDefinitionListForm()
 {
     eX4XcIhHpDXt70u2x3N.k8isAcYzkUOGF();
     this.jrLMCKlI4f = -1;
     this.vgmM2PPFGO = SortOrder.Ascending;
     // ISSUE: explicit constructor call
     base.\u002Ector();
     this.WlUM34Ql6m();
     this.ElZM5QiWFt = (IInstrumentProvider)null;
     this.YqjMvRa8WX.BeginUpdate();
     this.YqjMvRa8WX.Items.Clear();
     foreach (string str in this.gPmM8MoN0I())
     {
         this.YqjMvRa8WX.Items.Add((object)new xtIARG15FVeBWx5vnA(str));
     }
     this.YqjMvRa8WX.SelectedIndex = 0;
     this.YqjMvRa8WX.EndUpdate();
 }
Ejemplo n.º 7
0
 public void Init(IInstrumentProvider provider, FIXSecurityDefinition[] securityDefinitions)
 {
   this.provider = provider;
   this.securityDefinitions = securityDefinitions;
   this.numSuccessfully = 0;
   this.numSkipped = 0;
   this.UpdateProgress();
   this.btnClose.Visible = false;
 }
Ejemplo n.º 8
0
 internal InstrumentProvider(IInstrumentProvider provider) : base(provider)
 {
 }
Ejemplo n.º 9
0
 public void SetProvider(IInstrumentProvider provider)
 {
   this.ElZM5QiWFt = provider;
   provider.SecurityDefinition += new SecurityDefinitionEventHandler(this.tXkMObNhAo);
   SecurityDefinitionListForm definitionListForm = this;
   string str = definitionListForm.Text + RNaihRhYEl0wUmAftnB.aYu7exFQKN(32650) + provider.Name;
   definitionListForm.Text = str;
 }
Ejemplo n.º 10
0
 public void Init(IInstrumentProvider provider)
 {
     this.provider = provider;
     this.Text     = string.Format("Import Instruments - {0}", (object)((IProvider)provider).Name);
 }
Ejemplo n.º 11
0
 protected override void OnInit()
 {
   this.provider = (IInstrumentProvider) this.args[0];
   this.framework.EventManager.Dispatcher.InstrumentDefinition += new InstrumentDefinitionEventHandler(this.Dispatcher_InstrumentDefinition);
   this.framework.EventManager.Dispatcher.InstrumentDefinitionEnd += new InstrumentDefinitionEndEventHandler(this.Dispatcher_InstrumentDefinitionEnd);
 }
Ejemplo n.º 12
0
 public void Init(IInstrumentProvider provider, FIXSecurityDefinitionRequest request)
 {
     this.provider = provider;
     this.request  = request;
 }
Ejemplo n.º 13
0
 public void Init(IInstrumentProvider provider, FIXSecurityDefinitionRequest request)
 {
   this.provider = provider;
   this.request = request;
 }
Ejemplo n.º 14
0
		internal InstrumentProvider(IInstrumentProvider provider) : base(provider)
		{
		}
Ejemplo n.º 15
0
 public void Init(IInstrumentProvider provider)
 {
   this.provider = provider;
   this.Text = string.Format("Import Instruments - {0}", (object) ((IProvider) provider).Name);
 }
Ejemplo n.º 16
0
 protected override void OnInit()
 {
     this.provider = (IInstrumentProvider)this.args[0];
     this.framework.EventManager.Dispatcher.InstrumentDefinition    += new InstrumentDefinitionEventHandler(this.Dispatcher_InstrumentDefinition);
     this.framework.EventManager.Dispatcher.InstrumentDefinitionEnd += new InstrumentDefinitionEndEventHandler(this.Dispatcher_InstrumentDefinitionEnd);
 }