iikoFront Api V7Preview7 Code Reference
iikoFront Api V7Preview7 Code Reference
Resto.Front.Api
PluginContext Class
PluginContext Properties
PluginContext Methods

# PluginContext Class

Provides access to api services.
Inheritance Hierarchy
System
Object
Resto.Front.Api
PluginContext

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V7Preview7 (in Resto.Front.Api.V7Preview7.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    public sealed class PluginContext

The PluginContext type exposes the following members.

Properties

| 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.

Top
Methods

| 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.

Top
See Also

#### Reference

Resto.Front.Api Namespace