Handle() 개인적인 메소드

private Handle ( ) : IntPtr
리턴 System.IntPtr
예제 #1
0
파일: CpService.cs 프로젝트: simoncn/ohNet
        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;
                    }
                }
            }
        }
예제 #2
0
파일: CpService.cs 프로젝트: broonie/ohNet
 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;
             }
         }
     }
 }
예제 #3
0
파일: CpService.cs 프로젝트: broonie/ohNet
 /// <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());
 }
예제 #4
0
파일: CpService.cs 프로젝트: simoncn/ohNet
 /// <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());
 }