Interface IWrapperBase2
Wrapper over instances provided in CAM Open API, told who sent the request it is serving. A full replacement for IWrapperBase, not its heir: it repeats every member deliberately, so that once the registration surface and all wrappers have moved over, the old interface can be deleted outright rather than living on as an ancestor. Implement this one in new wrappers; a wrapper that implements only IWrapperBase keeps working and simply learns no sender.
Namespace: CAMAPI.ResultStatus
Assembly: CAMAPI.ResultStatus.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("3F2A6C14-8B7D-4E59-9A0C-2D5E7148B6F3")]
public interface IWrapperBase2
Properties
Id
Unique identifier of wrapper
Declaration
string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
WrappingObject
Instance of wrapping object
Declaration
IWrappingObject WrappingObject { get; set; }
Property Value
| Type | Description |
|---|---|
| IWrappingObject |
Methods
ExecuteFromSender(string, string, string, out string, out string)
Declaration
void ExecuteFromSender(string MethodName, string JsonParams, string SenderIdent, out string JsonResult, out string JsonError)
Parameters
| Type | Name | Description |
|---|---|---|
| string | MethodName | |
| string | JsonParams | |
| string | SenderIdent | |
| string | JsonResult | |
| string | JsonError |