Beispiel #1
0
        public IList <IResultValues> GetPositionPartySummaryList(IBookParty position, uint summaryCode)
        {
            var resultsList = __results.Where(x => ResultListUtils.IsEqualToPositionParty(position, x.Key) &&
                                              ResultListUtils.SummaryArticlesFilter(x.Value.Article(), summaryCode)).
                              Select(c => c.Value.Values()).ToArray();

            return(resultsList);
        }
Beispiel #2
0
        public IList <IResultValues> GetContractPartySummaryList(ICodeIndex contract, uint summaryCode)
        {
            var resultsList = __results.Where(x => ResultListUtils.IsEqualToContractParty(contract, x.Key) &&
                                              ResultListUtils.SummaryArticlesFilter(x.Value.Article(), summaryCode)).
                              Select(c => c.Value.Values()).ToArray();

            return(resultsList);
        }