Example #1
0
        //  aggregate type, e.g. sum, something else
        //
        public static AssetValuation GetValue(IList <InstrumentControllerBase> listIPriceable, IInstrumentControllerData modelData)
        {
            var            list = listIPriceable.Select(pr => pr.Calculate(modelData)).ToList();
            AssetValuation sum  = AssetValuationHelper.Sum(list);

            return(sum);
        }