PluginContext Class |
Namespace: Resto.Front.Api
public sealed class PluginContext
The PluginContext type exposes the following members.
| Name | Description | |
|---|---|---|
| Integration |
Provides integration features.
| |
| Licensing |
Provides licensing service.
| |
| Log |
Provides logger.
Messages sent to the logger will be written to the log file and optionally to the console or other standard output (latter is available for debug mode).
| |
| Notifications |
Provides notifications.
| |
| Operations |
Provides operations.
| |
| Services |
Provider of all services which are available for current plugin.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Initialize |
Fills the context with Api services on plugin startup.
This method isn't intended to be called from plugin.
| |
| Shutdown |
Gracefully terminates current host process.
Plugin may call this method to stop working.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Uninitialize |
Resets the context to uninitialized state.
This method isn't intended to be called from plugin.
|