IServiceInfo Interface |
Namespace: NetQuarry.Services
The IServiceInfo type exposes the following members.
Name | Description | |
---|---|---|
Application |
Gets or Sets the IAppContext object for the service.
| |
Attributes | Gets/Sets the service attributes. | |
Category | Gets/Sets the service category. | |
ComponentID | Gets/Sets the service ComponentID. | |
ID | Gets/Sets the service ID. | |
Name | Gets/Sets the service name. | |
Properties |
The Properties collection of Property objects for this object.
(Inherited from IEAPBase.) | |
TextItems | (Inherited from IEAPBase.) | |
Type | Gets/Sets the service type. | |
Version |
Gets/sets the version of this object's assembly.
(Inherited from IEAPBase.) |
Name | Description | |
---|---|---|
Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable.) | |
Exec |
The Exec method provides extended functionality.
(Inherited from IEAPBase.) | |
OnWebhook |
Handles an invocation of a "webhook" event for the service.
You should implement this event if you want your service to handle webhooks through the standard platform webhook wiring.
The raw wiring for the webhook would look like handler.ashx?req=webhook&service=sss&appkey=aaa&token=ttt where sss is
the name of the service, aaa is the application key, and ttt is the authentication token.
When wired up in the manner, the platform will instantiate an IAppContext object, authenticate the request based on
the provided token, obtain an instance of the service from the Services collection, and invoke this
method on the service.
If the webhook is wired up in this manner, you must override the base implementation of this method or an exception will be thrown.
| |
ServiceLoaded |
Called after the ServiceInfo object is loaded
|