public GraphEndpointMiddleware(
     RequestDelegate next,
     DfaGraphWriter graphWriter,
     EndpointDataSource endpointData)
 {
     _graphWriter  = graphWriter;
     _endpointData = endpointData;
 }
Exemplo n.º 2
0
 public GraphModule(DfaGraphWriter graphWriter, EndpointDataSource endpointDataSource)
 {
     this.Get("/graph", async context =>
     {
         var sw = new StringWriter();
         graphWriter.Write(endpointDataSource, sw);
         await context.Response.WriteAsync(sw.ToString());
     });
 }
Exemplo n.º 3
0
 public GraphModule(DfaGraphWriter graphWriter, EndpointDataSource endpointDataSource)
 {
     this.Get("/graph", async context =>
     {
         //Write out a graphvz format of the app's routing and view here https://dreampuf.github.io/GraphvizOnline
         var sw = new StringWriter();
         graphWriter.Write(endpointDataSource, sw);
         await context.Response.WriteAsync(sw.ToString());
     });
 }
Exemplo n.º 4
0
 public SystemController(IAppFolderInfo appFolderInfo,
                         IRuntimeInfo runtimeInfo,
                         IPlatformInfo platformInfo,
                         IOsInfo osInfo,
                         IConfigFileProvider configFileProvider,
                         IMainDatabase database,
                         ILifecycleService lifecycleService,
                         IDeploymentInfoProvider deploymentInfoProvider,
                         EndpointDataSource endpoints,
                         DfaGraphWriter graphWriter,
                         DuplicateEndpointDetector detector)
 {
     _appFolderInfo          = appFolderInfo;
     _runtimeInfo            = runtimeInfo;
     _platformInfo           = platformInfo;
     _osInfo                 = osInfo;
     _configFileProvider     = configFileProvider;
     _database               = database;
     _lifecycleService       = lifecycleService;
     _deploymentInfoProvider = deploymentInfoProvider;
     _endpointData           = endpoints;
     _graphWriter            = graphWriter;
     _detector               = detector;
 }
Exemplo n.º 5
0
 public GraphController(DfaGraphWriter graphWriter, CompositeEndpointDataSource compositeEndpointDataSource)
 {
     _graphWriter = graphWriter;
     _compositeEndpointDataSource = compositeEndpointDataSource;
 }
Exemplo n.º 6
0
 public VisualizeDot(DfaGraphWriter graphWriter, EndpointDataSource endpointData)
 {
     this.graphWriter  = graphWriter;
     this.endpointData = endpointData;
 }
Exemplo n.º 7
0
 public DebugController(DfaGraphWriter graphWriter, EndpointDataSource endpointDataSource)
 {
     _graphWriter        = graphWriter;
     _endpointDataSource = endpointDataSource;
 }