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