internal void InvocationComplete(Invocation aInvocation) { IntPtr handle = aInvocation.Handle(); lock (this) { for (int i = 0; i < iActiveInvocations.Count; i++) { if (iActiveInvocations[i].Handle() == handle) { iActiveInvocations.RemoveAt(i); break; } } } }
internal void InvocationComplete(Invocation aInvocation) { IntPtr handle = aInvocation.Handle(); lock (this) { for (int i=0; i<iActiveInvocations.Count; i++) { if (iActiveInvocations[i].Handle() == handle) { iActiveInvocations.RemoveAt(i); break; } } } }
/// <summary> /// Invoke an action /// </summary> /// <param name="aInvocation">Invocation object, with all input and output arguments added</param> public void InvokeAction(Invocation aInvocation) { CpServiceInvokeAction(iHandle, aInvocation.Handle()); }