AxisXCollection.cs 679 B

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