Line | |
---|
1 | using System;
|
---|
2 |
|
---|
3 | namespace Netron.GraphLib.IO.GraphML
|
---|
4 | {
|
---|
5 | /// <summary>
|
---|
6 | /// Summary description for KeyCollection.
|
---|
7 | /// </summary>
|
---|
8 | public class KeyCollection : System.Collections.CollectionBase
|
---|
9 | {
|
---|
10 |
|
---|
11 | /// <summary />
|
---|
12 | /// <remarks />
|
---|
13 | public KeyCollection()
|
---|
14 | {
|
---|
15 | }
|
---|
16 |
|
---|
17 | /// <summary />
|
---|
18 | /// <remarks />
|
---|
19 | public virtual object this[int index]
|
---|
20 | {
|
---|
21 | get
|
---|
22 | {
|
---|
23 | return this.List[index];
|
---|
24 | }
|
---|
25 | set
|
---|
26 | {
|
---|
27 | this.List[index] = value;
|
---|
28 | }
|
---|
29 | }
|
---|
30 |
|
---|
31 | /// <summary />
|
---|
32 | /// <remarks />
|
---|
33 | public virtual void Add(object o)
|
---|
34 | {
|
---|
35 | this.List.Add(o);
|
---|
36 | }
|
---|
37 |
|
---|
38 | /// <summary />
|
---|
39 | /// <remarks />
|
---|
40 | public virtual void AddKeyType(KeyType o)
|
---|
41 | {
|
---|
42 | this.List.Add(o);
|
---|
43 | }
|
---|
44 |
|
---|
45 | /// <summary />
|
---|
46 | /// <remarks />
|
---|
47 | public virtual bool ContainsKeyType(KeyType o)
|
---|
48 | {
|
---|
49 | return this.List.Contains(o);
|
---|
50 | }
|
---|
51 |
|
---|
52 | /// <summary />
|
---|
53 | /// <remarks />
|
---|
54 | public virtual void RemoveKeyType(KeyType o)
|
---|
55 | {
|
---|
56 | this.List.Remove(o);
|
---|
57 | }
|
---|
58 | }
|
---|
59 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.