Line | |
---|
1 | using System;
|
---|
2 | using System.Collections;
|
---|
3 | namespace Netron.GraphLib.IO.Reporting
|
---|
4 | {
|
---|
5 | /// <summary>
|
---|
6 | /// STC of BinaryReport objects
|
---|
7 | /// </summary>
|
---|
8 | public class BinaryReportCollection : CollectionBase
|
---|
9 | {
|
---|
10 |
|
---|
11 | /// <summary>
|
---|
12 | /// Adds a report to the collection
|
---|
13 | /// </summary>
|
---|
14 | /// <param name="report"></param>
|
---|
15 | /// <returns></returns>
|
---|
16 | public int Add(BinaryReport report)
|
---|
17 | {
|
---|
18 | return this.InnerList.Add(report);
|
---|
19 | }
|
---|
20 |
|
---|
21 | /// <summary>
|
---|
22 | /// Integer indexer
|
---|
23 | /// </summary>
|
---|
24 | public BinaryReport this[int index]
|
---|
25 | {
|
---|
26 | get{
|
---|
27 | return this.InnerList[index] as BinaryReport;
|
---|
28 | }
|
---|
29 | }
|
---|
30 |
|
---|
31 | /// <summary>
|
---|
32 | /// Default constructor
|
---|
33 | /// </summary>
|
---|
34 | public BinaryReportCollection()
|
---|
35 | {
|
---|
36 |
|
---|
37 | }
|
---|
38 | }
|
---|
39 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.