Beispiel #1
0
 public void CreateControls()
 {
     using (var context = new MiniserverContext(LoggerFactory.Create(b => b.AddFilter("Microsoft", LogLevel.Warning)).CreateLogger("test"), _structureFile))
     {
     }
 }
Beispiel #2
0
 public async Task ExecuteAsync(MiniserverContext context, Func <string, int, object, Task> action = null)
 {
     if (context != null)
     {
         var res = await context?.Connection.Command(default, this);