mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 01:35:30 +00:00
27 lines
635 B
C#
27 lines
635 B
C#
|
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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|