Exemplo n.º 1
0
 public ICollection<AvailableOutput> GetPortfolioNodeOutputs()
 {
     var ret = new HashSet<AvailableOutput>();
     foreach (var availableOutput in _outputsByValueName)
     {
         if (availableOutput.Value.PortfolioNodeProperties != null)
         {
             var output = new AvailableOutput(availableOutput.Key)
                              {PortfolioNodeProperties = availableOutput.Value.PortfolioNodeProperties};
             ret.Add(output);
         }
     }
     return ret;
 }
Exemplo n.º 2
0
 public ICollection<AvailableOutput> GetPositionOutputs(string securityType)
 {
     var ret = new HashSet<AvailableOutput>();
     foreach (var availableOutput in _outputsByValueName)
     {
         ValueProperties props;
         if (availableOutput.Value.PositionProperties.TryGetValue(securityType, out props))
         {
             var output = new AvailableOutput(availableOutput.Key);
             output.PositionProperties.Add(securityType, props);
             ret.Add(output);
         }
     }
     return ret;
 }
Exemplo n.º 3
0
        public ICollection <AvailableOutput> GetPositionOutputs(string securityType)
        {
            var ret = new HashSet <AvailableOutput>();

            foreach (var availableOutput in _outputsByValueName)
            {
                ValueProperties props;
                if (availableOutput.Value.PositionProperties.TryGetValue(securityType, out props))
                {
                    var output = new AvailableOutput(availableOutput.Key);
                    output.PositionProperties.Add(securityType, props);
                    ret.Add(output);
                }
            }
            return(ret);
        }
Exemplo n.º 4
0
        public ICollection <AvailableOutput> GetPortfolioNodeOutputs()
        {
            var ret = new HashSet <AvailableOutput>();

            foreach (var availableOutput in _outputsByValueName)
            {
                if (availableOutput.Value.PortfolioNodeProperties != null)
                {
                    var output = new AvailableOutput(availableOutput.Key)
                    {
                        PortfolioNodeProperties = availableOutput.Value.PortfolioNodeProperties
                    };
                    ret.Add(output);
                }
            }
            return(ret);
        }