public GraphEndpointMiddleware( RequestDelegate next, DfaGraphWriter graphWriter, EndpointDataSource endpointData) { _graphWriter = graphWriter; _endpointData = endpointData; }
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()); }); }
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()); }); }
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; }
public GraphController(DfaGraphWriter graphWriter, CompositeEndpointDataSource compositeEndpointDataSource) { _graphWriter = graphWriter; _compositeEndpointDataSource = compositeEndpointDataSource; }
public VisualizeDot(DfaGraphWriter graphWriter, EndpointDataSource endpointData) { this.graphWriter = graphWriter; this.endpointData = endpointData; }
public DebugController(DfaGraphWriter graphWriter, EndpointDataSource endpointDataSource) { _graphWriter = graphWriter; _endpointDataSource = endpointDataSource; }