ProgramCollection.cs 649 B

1234567891011121314151617181920212223242526272829303132
  1. namespace IndexFormula.Finance
  2. {
  3. using System;
  4. using System.Collections;
  5. using System.Reflection;
  6. public class ProgramCollection : CollectionBase
  7. {
  8. public int Add(FormulaProgram value)
  9. {
  10. return base.List.Add(value);
  11. }
  12. public void Remove(FormulaProgram value)
  13. {
  14. base.List.Remove(value);
  15. }
  16. public FormulaProgram this[int index]
  17. {
  18. get
  19. {
  20. return (FormulaProgram) base.List[index];
  21. }
  22. set
  23. {
  24. base.List[index] = value;
  25. }
  26. }
  27. }
  28. }