Ejemplo n.º 1
0
 public ExpressionBuilderTests()
 {
     entityList = APIConfiguration.Init <DataContext>(new AutoAPIOptions()
     {
         Path = "/api/data"
     });
 }
Ejemplo n.º 2
0
 public RestAPIControllerTests()
 {
     entityList = APIConfiguration.Init <DataContext>(new AutoAPIOptions()
     {
         Path = "/api"
     });
 }
Ejemplo n.º 3
0
 public AutoAPIMiddlewareTests()
 {
     entityList = APIConfiguration.Init <DataContext>(new AutoAPIOptions()
     {
         Path = "/api/data"
     });
 }
 public FilterOperatorExpressionTest()
 {
     entityList = APIConfiguration.Init <DataContext>(new AutoAPIOptions()
     {
         Path = "/api/data"
     });
 }
 public AutoAPISwaggerDocumentFilterTests()
 {
     lock (APIConfiguration.AutoAPIEntityCache)
     {
         if (APIConfiguration.AutoAPIEntityCache.Count == 0)
         {
             APIConfiguration.AutoAPIEntityCache.AddRange(APIConfiguration.Init <DataContext>(new AutoAPIOptions()
             {
                 Path = "/api/data"
             }));
         }
     }
 }
Ejemplo n.º 6
0
 public RequestProcessorTest()
 {
     lock (APIConfiguration.AutoAPIEntityCache)
     {
         if (APIConfiguration.AutoAPIEntityCache.Count == 0)
         {
             APIConfiguration.AutoAPIEntityCache.AddRange(APIConfiguration.Init <DataContext>(new AutoAPIOptions()
             {
                 Path = "/api/data"
             }));
         }
     }
 }