Beispiel #1
0
 public void Update(InvestmentSystem investment_system)
 {
     if (investment_systems.ContainsKey(investment_system.Id))
     {
         investment_systems.Remove(investment_system.Id);
         investment_systems.Add(investment_system.Id, investment_system);
     }
     else
     {
         investment_systems.Add(investment_system.Id, investment_system);
     }
 }
Beispiel #2
0
        public int CompareTo(object obj)
        {
            InvestmentSystem compare = (InvestmentSystem)obj;

            return(this[NAME].CompareTo(compare[NAME]));
        }