init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user