kreta/Kreta.Ellenorzo.Documentation/Dummy.cs
2024-03-13 00:33:46 +01:00

19 lines
465 B
C#

using System;
using System.Reflection;
using Swashbuckle.Examples;
namespace Kreta.Ellenorzo.Documentation
{
public class Dummy<T> : IExamplesProvider where T : new()
{
public T Controller { get; set; }
public object GetExamples()
{
var x = new T();
//MethodInfo toInvoke = ((object) x).GetMethod("ShowMessage");
//toInvoke.Invoke(testInstance, null);
return x;
}
}
}