TransformChain.cs 682 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // TransformChain.cs - TransformChain implementation for XML Signature
  3. //
  4. // Author:
  5. // Sebastien Pouliot ([email protected])
  6. //
  7. // (C) 2002 Motus Technologies Inc. (http://www.motus.com)
  8. //
  9. using System.Collections;
  10. namespace System.Security.Cryptography.Xml {
  11. public class TransformChain {
  12. private ArrayList chain;
  13. public TransformChain()
  14. {
  15. chain = new ArrayList ();
  16. }
  17. public int Count {
  18. get { return chain.Count; }
  19. }
  20. public Transform this [int index] {
  21. get { return (Transform) chain [index]; }
  22. }
  23. public void Add (Transform transform)
  24. {
  25. chain.Add (transform);
  26. }
  27. public IEnumerator GetEnumerator ()
  28. {
  29. return chain.GetEnumerator ();
  30. }
  31. }
  32. }