2using System.Threading.Tasks;
22 Gateway.Root.FileNotFound += this.CheckDynamicGraphs;
23 return Task.CompletedTask;
31 Gateway.Root.FileNotFound -= this.CheckDynamicGraphs;
32 return Task.CompletedTask;
53 _ = Task.Run(async () =>
Event arguments for file not found events.
HttpResponse Response
Current response object.
HttpRequest Request
Current request object.
NotFoundException Exception
Exception that will be returned to client. Change, if a custom exception is to be returned....
string SubPath
Sub-path. If a resource is found handling the request, this property contains the trailing sub-path o...
IUser User
Authenticated user, if available, or null if not available.
async Task DisposeAsync()
Closes the connection and disposes of all resources.
async Task SendResponse()
Sends the response back to the client. If the resource is synchronous, there's no need to call this m...
Task Return(Exception ex)
Returns an error to the client.
Contains information about a language.
Basic access point for runtime language localization.
static async Task< Language > GetDefaultLanguageAsync()
Gets the default language.
Tokens available in request.
static readonly RequestOrigin Empty
Empty request origin.
Task< RequestOrigin > GetOrigin()
Origin of request.
Module for semantic things.
Task Start()
Starts the module.
Task Stop()
Stops the module.
Makes harmonized data sources and nodes available as semantic information.
static async Task< IDynamicGraph > FindDynamicGraph(string Path, RequestOrigin Caller)
Finds a dynamic graph, based on its relative path.
Interface for late-bound modules loaded at runtime.
Interface for requestors that can act as an origin for distributed requests.
Interface for dynamic graphs.
Task GenerateGraph(InMemorySemanticCube Result, Language Language, RequestOrigin Caller)
Generates the semantic graph.