예제 #1
0
        public QuoteCollection this[int year, int month]
        {
            get
            {
                ContractInfomation contract = new ContractInfomation(Commodity, year, month);

                return(Group.ContainsKey(contract) ? Group[contract] : null);
            }
        }
예제 #2
0
파일: Quote.cs 프로젝트: sharespy/Astroder
 public QuoteCollection(ContractInfomation contract, string source, RecordType type, List <Quote> quotes)
     : this(contract.ToString(), source, type, quotes)
 {
 }