Mark van Renswoude
057cac4e22
Implemented Tapeti compatible publishing WIP: example generator from Tapeti message classes (UI still hidden)
26 lines
485 B
C#
26 lines
485 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace PettingZoo.Core.Generator
|
|
{
|
|
public interface IExampleSource : IDisposable
|
|
{
|
|
IExampleFolder GetRootFolder();
|
|
}
|
|
|
|
|
|
public interface IExampleFolder
|
|
{
|
|
public string Name { get; }
|
|
|
|
public IReadOnlyList<IExampleFolder> Folders { get; }
|
|
public IReadOnlyList<IExampleMessage> Messages { get; }
|
|
}
|
|
|
|
|
|
public interface IExampleMessage
|
|
{
|
|
string Generate();
|
|
}
|
|
}
|