2004-03-26 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / System.Security / System.Security.Cryptography.Xml / TransformChain.cs
1 //
2 // TransformChain.cs - TransformChain implementation for XML Signature
3 //
4 // Author:
5 //      Sebastien Pouliot (spouliot@motus.com)
6 //
7 // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com)
8 //
9
10 using System.Collections;
11
12 namespace System.Security.Cryptography.Xml { 
13
14         public class TransformChain {
15
16                 private ArrayList chain;
17
18                 public TransformChain() 
19                 {
20                         chain = new ArrayList ();
21                 }
22
23                 public int Count {
24                         get { return chain.Count; }
25                 }
26
27                 public Transform this [int index] {
28                         get { return (Transform) chain [index]; }
29                 }
30
31                 public void Add (Transform transform) 
32                 {
33                         chain.Add (transform);
34                 }
35
36                 public IEnumerator GetEnumerator () 
37                 {
38                         return chain.GetEnumerator ();
39                 }
40         }
41 }