Click or drag to resize

PluginContext Class

Provides access to api services.
Inheritance Hierarchy
SystemObject
  Resto.Front.ApiPluginContext

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
public sealed class PluginContext

The PluginContext type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberIntegration
Provides integration features.
Public propertyStatic memberLicensing
Provides licensing service.
Public propertyStatic memberLog
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).
Public propertyStatic memberNotifications
Provides notifications.
Public propertyStatic memberOperations
Provides operations.
Public propertyStatic memberServices
Provider of all services which are available for current plugin.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInitialize
Fills the context with Api services on plugin startup. This method isn't intended to be called from plugin.
Public methodStatic memberShutdown
Gracefully terminates current host process. Plugin may call this method to stop working.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUninitialize
Resets the context to uninitialized state. This method isn't intended to be called from plugin.
Top
See Also