protected override ServiceResult Call(
ISystemContext context,
NodeId objectId,
IList<object> inputArguments,
IList<object> outputArguments)
{
if (OnCall == null)
{
return base.Call(context, objectId, inputArguments, outputArguments);
}
ServiceResult result = null;
string applicationUri = (string)inputArguments[0];
ApplicationRecordDataType[] applications = (ApplicationRecordDataType[])outputArguments[0];
if (OnCall != null)
{
result = OnCall(
context,
this,
objectId,
applicationUri,
ref applications);
}
outputArguments[0] = applications;
return result;
}