Exemplo n.º 1
0
        private void SetInstrumentsByProperties(Properties instrsProp)
        {
            if (instrsProp == null || instrsProp.InsideProperties.Count == 0)
            {
                return;
            }


            foreach (var prop in instrsProp.InsideProperties)
            {
                try
                {
                    var i = new WebmoneyInstrument(this);
                    i.Properties = prop.Value;
                    _cache.AddInstrument(i);
                }
                catch (Exception ex)
                {
                }
            }
        }