Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1452 | chris | 1 | using System; |
| 2 | using System.Collections.Generic; |
||
| 3 | using System.Text; |
||
| 4 | |||
| 5 | namespace Examples |
||
| 6 | { |
||
| 7 | /// <summary> |
||
| 8 | /// Contains the information necessary to display and launch an example thorugh the ExampleLauncer. |
||
| 9 | /// </summary> |
||
| 10 | class ExampleInfo |
||
| 11 | { |
||
| 12 | public readonly Type Example; |
||
| 13 | public readonly ExampleAttribute Attribute; |
||
| 14 | |||
| 15 | public ExampleInfo(Type example, ExampleAttribute attr) |
||
| 16 | { |
||
| 17 | Example = example; |
||
| 18 | Attribute = attr; |
||
| 19 | } |
||
| 20 | |||
| 21 | public override string ToString() |
||
| 22 | { |
||
| 23 | return Attribute.ToString(); |
||
| 24 | } |
||
| 25 | } |
||
| 26 | } |