Interface IModelProvider
Interface for accessing model-related parameters
Namespace: DuetWebServer.Singletons
Assembly: DuetWebServer.dll
Syntax
public interface IModelProvider
Properties
Endpoints
Dictionary of registered third-party paths vs third-party HTTP endpoints
Declaration
Dictionary<string, HttpEndpoint> Endpoints { get; }
Property Value
Type | Description |
---|---|
Dictionary<string, HttpEndpoint> |
ReplySeq
Sequence number for generic messages (analog to seqs.reply)
Declaration
int ReplySeq { get; set; }
Property Value
Type | Description |
---|---|
int |
WebDirectory
Path to the web directory
Declaration
string? WebDirectory { get; set; }
Property Value
Type | Description |
---|---|
string |
Events
OnWebDirectoryChanged
Event that is triggered whenever the web directory path changes
Declaration
event IModelProvider.WebDirectoryChanged? OnWebDirectoryChanged
Event Type
Type | Description |
---|---|
IModelProvider.WebDirectoryChanged |