Exemplo n.º 1
0
        public QuoteCollection this[int year, int month]
        {
            get
            {
                ContractInfomation contract = new ContractInfomation(Commodity, year, month);

                return(Group.ContainsKey(contract) ? Group[contract] : null);
            }
        }
Exemplo n.º 2
0
 public QuoteCollection(ContractInfomation contract, string source, RecordType type, List <Quote> quotes)
     : this(contract.ToString(), source, type, quotes)
 {
 }