}// OnMarketInstrumentFoundResource() // // protected void OnMarketBookCreated(List <UV.Lib.Products.InstrumentName> instruments) { if (FoundResource != null) { FoundServiceEventArg arg = new FoundServiceEventArg(); arg.FoundInstrumentBooks = instruments; FoundResource(this, arg); } }// OnMarketBookCreatedResource()
/// <summary> /// This method must be called by the class that inherits this. It is triggered /// whenever new products are discovered at any exchange. /// </summary> /// <param name="products"></param> protected void OnProductFound(List <UV.Lib.Products.Product> products) { if (FoundResource != null) { FoundServiceEventArg arg = new FoundServiceEventArg(); arg.FoundProducts = products; FoundResource(this, arg); } }// OnMarketFoundResource()